Skip to content

Conversation

@graphicsMan
Copy link

Summary

Add dispenso, a high-performance C++ library for parallel programming from Meta.

Features

  • Work-stealing thread pools
  • Parallel for loops
  • Futures (std::experimental::future-like API)
  • Task graphs and pipelines
  • Concurrent containers

Links

Testing

  • Tested on x64-linux
  • Builds successfully
  • Usage file provided

Checklist

  • Ports build successfully
  • Usage file provided
  • License installed

@graphicsMan
Copy link
Author

@microsoft-github-policy-service agree company="Meta"

@vicroms
Copy link
Member

vicroms commented Jan 28, 2026

Found the following build errors:

D:\a\_work\1\s\ports\dispenso\portfile.cmake: warning: DLLs should not be present in a static build, but the following DLLs were found. To suppress this message, add set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
D:\p\dispenso_x64-windows-static: note: the DLLs are relative to ${CURRENT_PACKAGES_DIR} here
note: debug/bin/dispenso.dll
note: bin/dispenso.dll
D:\a\_work\1\s\ports\dispenso\portfile.cmake: warning: ${CURRENT_PACKAGES_DIR}/debug/bin exists but should not in a static build. To suppress this message, add set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
D:\a\_work\1\s\ports\dispenso\portfile.cmake: warning: ${CURRENT_PACKAGES_DIR}/bin exists but should not in a static build. To suppress this message, add set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
note: if creation of these directories cannot be disabled, you can add the following in portfile.cmake to remove them
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
  file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin")
endif()
error C3861: '__lzcnt64': identifier not found

@vicroms vicroms marked this pull request as draft January 28, 2026 09:46
Copy link
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this port not support non x64 Windows ("supports": "!(windows & (arm64 | uwp | x86)")?

Also missing a version database update with vcpkg x-add-version dispenso.

@graphicsMan
Copy link
Author

Good callouts, thanks! I hadn't been able to test on 32-bit windows previously. I've created a fix and I'm testing it. I'll also make the version database update change and get back to you later this week with PR updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants