Closed amirabbasasadi closed 1 year ago
Please provide config-x64-linux-out.log
. What you see as an error there is just find_package(Threads)
running.
Here is the complete log:
From config-x64-linux-out.log
:
CMake Error at cmake/HPX_AddModule.cmake:110 (configure_file):
Invalid argument
Call Stack (most recent call first):
libs/core/thread_support/CMakeLists.txt:30 (add_hpx_module)
but without --trace-expand
logs hard to tell what happend. running vcpkg with --x-cmake-args=-DVCPKG_CMAKE_CONFIGURE_OPTIONS=--trace-expand
should give better insight what happend there.
@amirabbasasadi Please follow the above tips and provide logs, thanks.
config-x64-linux-out.zip @MonicaLiu0311 Sorry it was a bit large. This is the complete log file. Thanks.
hpx
has been updated to 1.8.1
, and the issue has disappeared in the latest version; if it is still an issue, please reopen.
monica@monica003:~/vcpkg$ ./vcpkg install hpx --binarysource=clear
hpx[bzip2,core,mpi,snappy,zlib]:x64-linux -> 1.8.1
...
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /home/monica/vcpkg/packages/hpx_x64-linux/share/hpx/copyright
-- Performing post-build validation
Elapsed time to handle hpx:x64-linux: 11 min
Total install time: 26 min
The port hpx provides CMake targets:
find_package(HPX REQUIRED)
target_link_libraries(main PRIVATE HPX::hpx)
monica@monica003:~/vcpkg$ ./vcpkg version
vcpkg package management program version 2023-03-29-664f8bb619b752430368d0f30a8289b761f5caba
See LICENSE.txt for license information.
Related PR #30303.
Package: hpx[bzip2,core,mpi,snappy,zlib]:x64-linux -> 1.8.0#2
Host Environment
To Reproduce
vcpkg install hpx
Failure logs
And this is what I found in the log files, It seems for some reason ninja didn't link pthread to one of the files while building hpx.