Use find_package for llvm/clang
Fixes #7176
Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds
Build failed on mac11.0/cxx17. Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-03-11T10:31:04.925Z] FAILED: interpreter/llvm/src/utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o
- [2021-03-11T10:31:04.925Z] clang: error: unable to execute command: Segmentation fault: 11
- [2021-03-11T10:31:04.925Z] clang: error: clang frontend command failed due to signal (use -v to see invocation)
Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds
Build failed on mac11.0/cxx17. Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-03-11T11:28:10.926Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/ASTTransformer.cpp.o
- [2021-03-11T11:28:10.926Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:28:11.498Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/BackendPasses.cpp.o
- [2021-03-11T11:28:11.759Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:28:13.158Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/CheckEmptyTransactionTransformer.cpp.o
- [2021-03-11T11:28:13.158Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:28:13.158Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/AutoSynthesizer.cpp.o
- [2021-03-11T11:28:13.418Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:28:13.987Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/AutoloadCallback.cpp.o
- [2021-03-11T11:28:13.988Z] <command line>:4:9: error: macro name must be an identifier
And 4 more
Build failed on mac1014/python3. Running on macitois21.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-03-11T11:31:33.802Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/ASTTransformer.cpp.o
- [2021-03-11T11:31:33.802Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:31:35.968Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/BackendPasses.cpp.o
- [2021-03-11T11:31:35.968Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:31:36.906Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/AutoSynthesizer.cpp.o
- [2021-03-11T11:31:36.906Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:31:37.473Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/CheckEmptyTransactionTransformer.cpp.o
- [2021-03-11T11:31:37.473Z] <command line>:4:9: error: macro name must be an identifier
- [2021-03-11T11:31:37.473Z] FAILED: interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/AutoloadCallback.cpp.o
- [2021-03-11T11:31:37.473Z] <command line>:4:9: error: macro name must be an identifier
Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds
Build failed on mac11.0/cxx17. Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-03-11T12:19:03.224Z] FAILED: interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
- [2021-03-11T12:19:03.224Z] clang: error: unable to execute command: Segmentation fault: 11
- [2021-03-11T12:19:03.224Z] clang: error: clang frontend command failed due to signal (use -v to see invocation)
Build failed on ROOT-debian10-i386/cxx14. Running on pcepsft11.dyndns.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-03-11T13:01:19.065Z] FAILED: core/rootcling_stage1/src/rootcling_stage1
- [2021-03-11T13:01:19.326Z] collect2: error: ld returned 1 exit status
Build failed on windows10/cxx14. Running on null:C:\build\workspace\root-pullrequests-build See console output.
Errors:
- [2021-03-11T14:03:02.494Z] C:\build\workspace\root-pullrequests-build\root\interpreter\cling\lib\Utils\PlatformWin.cpp(69,44): error C2664: 'size_t wcstombs(char *,const wchar_t *,size_t)': cannot convert argument 2 from 'LPTSTR' to 'const wchar_t *' [C:\build\workspace\root-pullrequests-build\build\interpreter\cling\lib\Utils\obj.clingUtils.vcxproj]
- [2021-03-11T14:03:02.494Z] C:\build\workspace\root-pullrequests-build\root\interpreter\cling\lib\Utils\PlatformWin.cpp(71,42): error C2664: 'size_t wcstombs(char *,const wchar_t *,size_t)': cannot convert argument 2 from 'LPTSTR' to 'const wchar_t *' [C:\build\workspace\root-pullrequests-build\build\interpreter\cling\lib\Utils\obj.clingUtils.vcxproj]
@phsft-bot build!
Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds
Build failed on ROOT-ubuntu16/nortcxxmod. Running on sft-ubuntu-1604-2.cern.ch:/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-05-03T20:01:11.113Z] FAILED: /usr/bin/ccache /usr/bin/c++ -DVECCORE_ENABLE_VC -I/mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/unix/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/clingutils/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/textinput/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/thread/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/zip/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/rint/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/clib/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/meta/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/gui/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/cont/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/foundation/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/base/inc -Iginclude -I/mnt/build/workspace/root-pullrequests-build/root/tree/tree/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/imt/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/multiproc/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/mathcore/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/mathcore/v7/inc -Iexternals/mnt/build/workspace/root-pullrequests-build/install/include -I/mnt/build/workspace/root-pullrequests-build/root/tree/treeplayer/inc -I/mnt/build/workspace/root-pullrequests-build/root/hist/hist/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/matrix/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/vecops/inc -I/mnt/build/workspace/root-pullrequests-build/root/net/net/inc -I/mnt/build/workspace/root-pullrequests-build/root/io/io/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf2d/gpad/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf2d/graf/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf3d/g3d/inc -fdiagnostics-color=always -std=c++11 -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -fPIC -std=c++11 -MD -MT tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFGraphUtils.cxx.o -MF tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFGraphUtils.cxx.o.d -o tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFGraphUtils.cxx.o -c /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:144:52: error: reference to ‘RDFInternal’ is ambiguous
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:144:80: error: expected unqualified-id before ‘&’ token
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:144:80: error: expected ‘)’ before ‘&’ token
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:144:81: error: expected initializer before ‘defines’
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:172:1: error: expected ‘}’ at end of input
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:172:1: error: expected ‘}’ at end of input
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:172:1: error: expected ‘}’ at end of input
- [2021-05-03T20:01:11.113Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFGraphUtils.cxx:172:1: error: expected ‘}’ at end of input
- [2021-05-03T20:01:11.373Z] FAILED: /usr/bin/ccache /usr/bin/c++ -DVECCORE_ENABLE_VC -I/mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/unix/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/clingutils/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/textinput/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/thread/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/zip/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/rint/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/clib/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/meta/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/gui/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/cont/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/foundation/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/base/inc -Iginclude -I/mnt/build/workspace/root-pullrequests-build/root/tree/tree/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/imt/inc -I/mnt/build/workspace/root-pullrequests-build/root/core/multiproc/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/mathcore/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/mathcore/v7/inc -Iexternals/mnt/build/workspace/root-pullrequests-build/install/include -I/mnt/build/workspace/root-pullrequests-build/root/tree/treeplayer/inc -I/mnt/build/workspace/root-pullrequests-build/root/hist/hist/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/matrix/inc -I/mnt/build/workspace/root-pullrequests-build/root/math/vecops/inc -I/mnt/build/workspace/root-pullrequests-build/root/net/net/inc -I/mnt/build/workspace/root-pullrequests-build/root/io/io/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf2d/gpad/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf2d/graf/inc -I/mnt/build/workspace/root-pullrequests-build/root/graf3d/g3d/inc -fdiagnostics-color=always -std=c++11 -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -fPIC -std=c++11 -MD -MT tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFInterfaceUtils.cxx.o -MF tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFInterfaceUtils.cxx.o.d -o tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFInterfaceUtils.cxx.o -c /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFInterfaceUtils.cxx
And 8 more
Warnings:
- [2021-05-03T20:01:11.634Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFInterfaceUtils.cxx:145:25: warning: ‘{anonymous}::ParsedExpression {anonymous}::ParseRDFExpression(const string&, const ColumnNames_t&, const ColumnNames_t&, const ColumnNames_t&, const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&)’ defined but not used [-Wunused-function]
- [2021-05-03T20:01:11.634Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFInterfaceUtils.cxx:262:20: warning: ‘std::__cxx11::string {anonymous}::DeclareLambda(const string&, const ColumnNames_t&, const ColumnNames_t&)’ defined but not used [-Wunused-function]
- [2021-05-03T20:01:11.634Z] /mnt/build/workspace/root-pullrequests-build/root/tree/dataframe/src/RDFInterfaceUtils.cxx:292:20: warning: ‘std::__cxx11::string {anonymous}::RetTypeOfLambda(const string&)’ defined but not used [-Wunused-function]
Build failed on ROOT-debian10-i386/cxx14. Running on pcepsft10.dyndns.cern.ch:/build/workspace/root-pullrequests-build See console output.
Errors:
- [2021-05-03T20:43:49.025Z] collect2: error: ld returned 1 exit status
Build failed on windows10/cxx14. Running on null:C:\build\workspace\root-pullrequests-build See console output.
Errors:
- [2021-05-03T20:53:11.818Z] C:\build\workspace\root-pullrequests-build\root\interpreter\cling\lib\Utils\PlatformWin.cpp(69,44): error C2664: 'size_t wcstombs(char *,const wchar_t *,size_t)': cannot convert argument 2 from 'LPTSTR' to 'const wchar_t *' [C:\build\workspace\root-pullrequests-build\build\interpreter\cling\lib\Utils\obj.clingUtils.vcxproj]
- [2021-05-03T20:53:11.818Z] C:\build\workspace\root-pullrequests-build\root\interpreter\cling\lib\Utils\PlatformWin.cpp(71,42): error C2664: 'size_t wcstombs(char *,const wchar_t *,size_t)': cannot convert argument 2 from 'LPTSTR' to 'const wchar_t *' [C:\build\workspace\root-pullrequests-build\build\interpreter\cling\lib\Utils\obj.clingUtils.vcxproj]
Build failed on mac11.0/cxx17. Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Warnings:
- [2021-05-03T21:16:05.954Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<double>' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.498Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.500Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<double, double>' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.500Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
- [2021-05-03T21:16:07.775Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
And 1475 more
Failing tests:
- projectroot.roottest.root.dataframe.roottest_root_dataframe_test_glob
- projectroot.roottest.root.dataframe.roottest_root_dataframe_test_stringfiltercolumn
- projectroot.roottest.root.dataframe.roottest_root_dataframe_test_reduce
- projectroot.roottest.root.dataframe.roottest_root_dataframe_ctors
- projectroot.roottest.root.dataframe.roottest_root_dataframe_regression_snapshot
- projectroot.roottest.root.dataframe.roottest_root_dataframe_test_snapshot
@phsft-bot build!
Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds
@chrisburr, apologies for the delay. Is this PR still relevant? If so could you rebase it?
Build failed on ROOT-debian10-i386/soversion. Running on pcepsft11.dyndns.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:46:49.387Z] stderr: error: Failed to merge in the changes.
- [2022-07-16T14:46:57.002Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Build failed on ROOT-performance-centos8-multicore/cxx17. Running on olbdw-01.cern.ch:/data/sftnight/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:47:01.783Z] CMake Error at /data/sftnight/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Build failed on ROOT-ubuntu2004/python3. Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:46:57.152Z] stderr: error: Failed to merge in the changes.
- [2022-07-16T14:47:06.770Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Build failed on mac11/cxx14. Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:47:11.569Z] CMake Error at /Users/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Build failed on ROOT-ubuntu18.04/nortcxxmod. Running on sft-ubuntu-1804-2.cern.ch:/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:47:38.041Z] CMake Error at /mnt/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Warnings:
- [2022-07-16T14:47:30.306Z] stderr: warning: inexact rename detection was skipped due to too many files.
Build failed on windows10/cxx14. Running on null:C:\build\workspace\root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:47:40.709Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
Build failed on mac1015/cxx17. Running on macitois22.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-16T14:50:37.853Z] stderr: error: Failed to merge in the changes.
- [2022-07-16T14:51:00.961Z] CMake Error at /Volumes/HD2/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1088 (message):
@chrisburr, apologies for the delay. Is this PR still relevant? If so could you rebase it?
Since the author of the PR didn't follow up on this request from one and a half years ago, I'll close this PR as stalled.
But of course, should this be relevant for you again, feel free to re-open it or create a new PR!