gmake[3]: *** No rule to make target benchmark/lib/libbenchmark.a', needed by
bench/sg_benchmark'. Stop.
#3654
Labels
? - Needs Triage
Need team to review and classify
bug
Something isn't working
inactive-30d
inactive-90d
The description
By the end of building process after launching the command
$ ./build.sh bench
and after getting reached 100% in building
I got the following error message:
gmake[3]: *** No rule to make target
benchmark/lib/libbenchmark.a', needed by
bench/sg_benchmark'. Stop.gmake[2]: *** [bench/CMakeFiles/sg_benchmark.dir/all] Error 2
gmake[1]: *** [bench/CMakeFiles/sg_benchmark.dir/rule] Error 2
gmake: *** [sg_benchmark] Error 2
Steps/Code to reproduce bug
I had to install them locally and specified paths to them altering options of cmake
in build.sh:195 like that:
Other options were left as they were originally.
How they were altered:
Expected behavior
Successful completion of building was expected.
Environment details (please complete the following information):
Cmake version - 3.18.5, gcc/g++ - 9.3.0
Additional context
Besides the info above you can find below the file with the output
of "print_env.sh" and the log with stdout of "build.sh".
Also I experienced another error before:
"CUDA 10.2 incompatible with GCC 9.3 and Clang 9.0"
It was the same as the issue on espressomd/espresso#3654
Their solution helped me though I adopted it for my case.
Due to inability to modify files in "/usr/local/cuda-10.2" I had to create a local copy
of cuda and edited a bit conditions in "crt/host_config.h" there.
As the result it accepted the version 9.3.0 of GCC.
compile.log
my_env.txt
The text was updated successfully, but these errors were encountered: