Skip to content
New issue

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

benchmarks won't build with cmake+make #168

Open
nyx191 opened this issue Jan 9, 2021 · 0 comments
Open

benchmarks won't build with cmake+make #168

nyx191 opened this issue Jan 9, 2021 · 0 comments

Comments

@nyx191
Copy link

nyx191 commented Jan 9, 2021

GNU/Linux platform:
GNU ld-2.35.1
cmake version 3.18.4
GNU Make 4.3
gfortran-9.3.0 || gfortran-10.2.0
g++-10.2.1 || g++-9.3.0 || clang++ version 11.0.0 || clang++ version 9.0.1
Command sequence:

$ cmake -D BUILD_TESTING=ON -D FORTRAN_BENCHMARKS=ON ..
$ make benchmark # Fails

The problem is:

/usr/bin/ld: CMakeFiles/benchmark-floop9.dir/floop9.cpp.o: in function F77Version(blitz::BenchmarkExt<int>&)':
floop9.cpp:(.text+0x19b5): undefined reference to floop9_f77'
/usr/bin/ld: floop9.cpp:(.text+0x19f9): undefined reference to `floop9_f77overhead'

Builds w/o -D FORTRAN_BENCHMARKS=ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant