We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building any application against a Legion installation built with CMake fails to link because realm_gex_wrapper_objs is missing.
realm_gex_wrapper_objs
To reproduce (I'm running this on Sapling, though any machine with Infiniband should work):
git clone [email protected]:StanfordLegion/legion.git legion-build-test cd legion-build-test mkdir build cd build cmake .. -DLegion_NETWORKS=gasnetex -DLegion_EMBED_GASNet=ON -DGASNet_CONDUIT=ibv -DCMAKE_INSTALL_PREFIX=$PWD/../install make install -j20 cd ../examples/circuit mkdir build cd build CMAKE_PREFIX_PATH=$PWD/../../../install cmake .. -DCMAKE_CXX_STANDARD=17 make -j20
Results in:
[100%] Linking CXX executable circuit /usr/bin/ld: cannot find -lrealm_gex_wrapper_objs
Verbose output:
[ 20%] Linking CXX executable circuit /usr/local/cmake-3.26.3/bin/cmake -E cmake_link_script CMakeFiles/circuit.dir/link.txt --verbose=1 /usr/bin/c++ -Wl,--export-dynamic -rdynamic CMakeFiles/circuit.dir/circuit.cc.o CMakeFiles/circuit.dir/circuit_cpu.cc.o CMakeFiles/circuit.dir/circuit_init.cc.o CMakeFiles/circuit.dir/circuit_mapper.cc.o -o circuit /scratch/eslaught/legion-build-test/install/lib/liblegion.a /scratch/eslaught/legion-build-test/install/lib/librealm.a -ldl -lpthread -lrt -lrealm_gex_wrapper_objs /usr/lib/x86_64-linux-gnu/libz.so -latomic /usr/bin/ld: cannot find -lrealm_gex_wrapper_objs collect2: error: ld returned 1 exit status
Contents of install/lib:
install/lib
$ ls lib/ liblegion.a librealm.a
The text was updated successfully, but these errors were encountered:
Hmm... realm_gex_wrapper_objs is an object library, it shouldn't be added to the linker line... Taking a look.
Sorry, something went wrong.
muraj
No branches or pull requests
Building any application against a Legion installation built with CMake fails to link because
realm_gex_wrapper_objs
is missing.To reproduce (I'm running this on Sapling, though any machine with Infiniband should work):
Results in:
Verbose output:
Contents of
install/lib
:The text was updated successfully, but these errors were encountered: