clang: error: unknown argument: '-fprofile-abs-path'
anonrig opened this issue · 1 comments
anonrig commented
Specifically running for coverage:
FAILED: tests/url_components tests/url_components[1]_tests.cmake /Users/yagiz/Developer/url-parser/build/tests/url_components[1]_tests.cmake
: && /opt/homebrew/bin/ccache c++ -g --coverage -fprofile-abs-path -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/homebrew/opt/curl/lib tests/CMakeFiles/url_components.dir/url_components.cpp.o -o tests/url_components src/libada.a _deps/simdjson/libsimdjson.a lib/libgtest_main.a lib/libgtest.a && cd /Users/yagiz/Developer/url-parser/build/tests && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -D TEST_TARGET=url_components -D TEST_EXECUTABLE=/Users/yagiz/Developer/url-parser/build/tests/url_components -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/Users/yagiz/Developer/url-parser/build/tests -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX= -D TEST_SUFFIX= -D TEST_FILTER= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=url_components_TESTS -D CTEST_FILE=/Users/yagiz/Developer/url-parser/build/tests/url_components[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -D TEST_XML_OUTPUT_DIR= -P /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/GoogleTestAddTests.cmake
clang: error: unknown argument: '-fprofile-abs-path'
clang --version
Homebrew clang version 16.0.3
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
anonrig commented
Similar issue: bilke/cmake-modules#64