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

-DNRN_COVERAGE_FILES="..." not working on Apple Silicon #2328

Closed
nrnhines opened this issue Apr 18, 2023 · 0 comments · Fixed by #2530
Closed

-DNRN_COVERAGE_FILES="..." not working on Apple Silicon #2328

nrnhines opened this issue Apr 18, 2023 · 0 comments · Fixed by #2530

Comments

@nrnhines
Copy link
Member

With current master 55023c8
coverage: paths of flex/bison files, update CI (#2327)

cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=install -DPYTHON_EXECUTABLE=`which python3.11` -DNRN_ENABLE_RX3D=OFF -DNRN_ENABLE_TESTS=ON -DNRN_ENABLE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug -DNRN_COVERAGE_FILES="src/ivoc/ocpointer.cpp;src/ivoc/ocptrvector.cpp"
ninja install

fails with

: && /usr/bin/clang++ -g  -O0   -arch arm64 ... -o bin/modlunit  -lgcov && :
ld: library not found for -lgcov

This works when the previous commit 1d4afda is checked out.

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

Successfully merging a pull request may close this issue.

1 participant