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
Trying to build faodel 1.1906.1 with LLVM 10 on Ubuntu 18.04 for x86_64 fails with this error:
faodel 1.1906.1
LLVM 10
Ubuntu 18.04
x86_64
/tmp/root/spack-stage/spack-stage-faodel-1.1906.1-qtpc4h53tqs7pq5dpw4v5fncvqx5rkqn/spack-src/src/kelpie/pools/DHTPool/DHTPool.cpp:232:75: error: a lambda parameter cannot shadow an explicitly captured entity [&key, &returned_ldo, &cv, &is_found] (bool success, Key key, lunasa::DataObject result_ldo, ... src/kelpie/CMakeFiles/kelpie.dir/build.make:381: recipe for target 'src/kelpie/CMakeFiles/kelpie.dir/pools/DHTPool/DHTPool.cpp.o' failed make[2]: *** [src/kelpie/CMakeFiles/kelpie.dir/pools/DHTPool/DHTPool.cpp.o] Error 1
My cmake args:
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTS:BOOL=ON -DBOOST_ROOT:PATH=/opt/spack/opt/spack/linux-ubuntu18.04-x86_64/clang-11.0.0/boost-1.72.0-3ztuhn7vlvh2f3zqeoalp2esfkr45xuj -DGTEST_ROOT:PATH=/opt/spack/opt/spack/linux-ubuntu18.04-x86_64/clang-11.0.0/googletest-1.10.0-qenctivumu3p7y4nbhvhpdyudxf66nyp -DBUILD_DOCS:BOOL=OFF -DFaodel_ENABLE_IOM_HDF5:BOOL=OFF -DFaodel_ENABLE_IOM_LEVELDB:BOOL=OFF -DFaodel_ENABLE_MPI_SUPPORT:BOOL=ON -DFaodel_ENABLE_TCMALLOC:BOOL=ON -DFaodel_LOGGING_METHOD:STRING=stdout -DFaodel_NETWORK_LIBRARY:STRING=nnti -DFaodel_ENABLE_CEREAL:BOOL=OFF
Full build log: spack-build-out.txt
The text was updated successfully, but these errors were encountered:
Confirmed- there's a variable in a capture list that shouldn't be there that's causing build errors.
I've pushed a fix into master. Please let me know if you still get this error.
Sorry, something went wrong.
No branches or pull requests
Trying to build
faodel 1.1906.1
withLLVM 10
onUbuntu 18.04
forx86_64
fails with this error:My cmake args:
Full build log:
spack-build-out.txt
The text was updated successfully, but these errors were encountered: