hpx
The C++ Standard Library for Parallelism and Concurrency
Latest version: 1.11.0
Add to xmake.lua
add_requires("hpx 1.11.0")Learn how to add and link packages with Xmake →
Information
- License
- BSL-1.0
- Recipe updated
- 2026-07-11T21:37:41.000Z
Platforms
- windows: x64
Options
apex- Enable APEX integration · Default: false
context- Enable Boost. Context for task context switching · Default: false
cpu_count- Set the maximum CPU count supported by HPX · Default: 64
cuda- Enable support for CUDA · Default: false
lci- Enable the LCI parcelport · Default: false
malloc- Use a custom allocator · Default: system · Values: system, tcmalloc, jemalloc, mimalloc
mpi- Enable the MPI parcelport · Default: false
tcp- Enable the TCP parcelport · Default: false
Versions
- v1.9.1
- v1.10.0
- v1.11.0
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "hpx 1.11.0"show info
xrepo info "hpx"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("hpx 1.11.0")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("hpx")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "hpx 1.11.0" shell