<div dir="ltr">Is anyone doing nightly or commit-driven builds for AArch64? </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 28, 2019 at 7:29 PM Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com">itaru.kitayama@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Jonas,</div><div><br></div><div>See below for the CMake options and the error I saw:</div><div><br></div><div>cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_ENABLE_PROJECTS="clang;openmp;lld" ../llvm<br>#cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_ENABLE_PROJECTS="clang;lld" ../llvm<br></div><div><br></div><div><br></div>Already up-to-date.<br>mkdir: cannot create directory ‘20190528’: File exists<br>-- clang project is enabled<br>-- clang-tools-extra project is disabled<br>-- compiler-rt project is disabled<br>-- debuginfo-tests project is disabled<br>-- libclc project is disabled<br>-- libcxx project is disabled<br>-- libcxxabi project is disabled<br>-- libunwind project is disabled<br>-- lld project is enabled<br>-- lldb project is disabled<br>-- llgo project is disabled<br>-- openmp project is enabled<br>-- parallel-libs project is disabled<br>-- polly project is disabled<br>-- pstl project is disabled<br>-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)<br>-- Native target architecture is AArch64<br>-- Threads enabled.<br>-- Doxygen disabled.<br>go: cannot find GOROOT directory: /tmp/plgbuild/abs_build/761279_29269/trunk/rel_work/arm_builder/components/builder/work/current_tree/AArch64/opt/arm/gcc-8.2.0_Generic-AArch64_RHEL-7_aarch64-linux<br>-- Go bindings disabled, need at least Go 1.2.<br>-- Ninja version: 1.9.0.git<br>-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)<br>-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)<br>-- OCaml bindings disabled.<br>-- LLVM host triple: aarch64-unknown-linux-gnu<br>-- LLVM default target triple: aarch64-unknown-linux-gnu<br>-- Building with -fPIC<br>-- Constructing LLVMBuild project information<br>-- Linker detection: GNU ld<br>-- LLVMHello ignored -- Loadable modules not supported on this platform.<br>-- Targeting AArch64<br>-- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:  LIBOMPTARGET_DEP_LIBFFI_LIBRARIES LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)<br>-- LIBOMPTARGET: Building offloading runtime library libomptarget.<br>-- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi dependency not found.<br>-- LIBOMPTARGET: Not building CUDA offloading plugin: only support CUDA in Linux x86_64 or ppc64le hosts.<br>-- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Not building x86_64 offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Building CUDA offloading device RTL.<br>-- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.<br>-- BugpointPasses ignored -- Loadable modules not supported on this platform.<br>-- TestPlugin ignored -- Loadable modules not supported on this platform.<br>-- git Version: v0.0.0<br>-- Version: 0.0.0<br>-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile<br>-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile<br>-- Performing Test HAVE_POSIX_REGEX -- success<br>-- Performing Test HAVE_STEADY_CLOCK -- success<br>-- Configuring done<br>CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-all" does not exist.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:1001 (add_lit_target)<br><br><br>CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-all" does<br>  not exist.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:1001 (add_lit_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-openmp" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190 (add_openmp_testsuite)<br>  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83 (construct_check_openmp_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-openmp"<br>  does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190 (add_openmp_testsuite)<br>  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83 (construct_check_openmp_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-ompt" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-ompt" does<br>  not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomp" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-libomp"<br>  does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomptarget-nvptx" does not<br>  exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target<br>  "check-libomptarget-nvptx" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomptarget" does not<br>  exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target<br>  "check-libomptarget" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15 (add_openmp_testsuite)<br><br><br>-- Generating done<br>-- Build files have been written to: /tmp/projects/llvm-project/20190528<br>[0/1] Re-running CMake...<br>-- clang project is enabled<br>-- clang-tools-extra project is disabled<br>-- compiler-rt project is disabled<br>-- debuginfo-tests project is disabled<br>-- libclc project is disabled<br>-- libcxx project is disabled<br>-- libcxxabi project is disabled<br>-- libunwind project is disabled<br>-- lld project is enabled<br>-- lldb project is disabled<br>-- llgo project is disabled<br>-- openmp project is enabled<br>-- parallel-libs project is disabled<br>-- polly project is disabled<br>-- pstl project is disabled<br>-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)<br>-- Native target architecture is AArch64<br>-- Threads enabled.<br>-- Doxygen disabled.<br>go: cannot find GOROOT directory: /tmp/plgbuild/abs_build/761279_29269/trunk/rel_work/arm_builder/components/builder/work/current_tree/AArch64/opt/arm/gcc-8.2.0_Generic-AArch64_RHEL-7_aarch64-linux<br>-- Go bindings disabled, need at least Go 1.2.<br>-- Ninja version: 1.9.0.git<br>-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)<br>-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)<br>-- OCaml bindings disabled.<br>-- LLVM host triple: aarch64-unknown-linux-gnu<br>-- LLVM default target triple: aarch64-unknown-linux-gnu<br>-- Building with -fPIC<br>-- Constructing LLVMBuild project information<br>-- Linker detection: GNU ld<br>-- LLVMHello ignored -- Loadable modules not supported on this platform.<br>-- Targeting AArch64<br>-- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:  LIBOMPTARGET_DEP_LIBFFI_LIBRARIES LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)<br>-- LIBOMPTARGET: Building offloading runtime library libomptarget.<br>-- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi dependency not found.<br>-- LIBOMPTARGET: Not building CUDA offloading plugin: only support CUDA in Linux x86_64 or ppc64le hosts.<br>-- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Not building x86_64 offloading plugin: machine not found in the system.<br>-- LIBOMPTARGET: Building CUDA offloading device RTL.<br>-- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.<br>-- BugpointPasses ignored -- Loadable modules not supported on this platform.<br>-- TestPlugin ignored -- Loadable modules not supported on this platform.<br>-- git Version: v0.0.0<br>-- Version: 0.0.0<br>-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile<br>-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile<br>-- Performing Test HAVE_POSIX_REGEX -- success<br>-- Performing Test HAVE_STEADY_CLOCK -- success<br>-- Configuring done<br>CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-all" does not exist.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:1001 (add_lit_target)<br><br><br>CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-all" does<br>  not exist.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:1001 (add_lit_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-openmp" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190 (add_openmp_testsuite)<br>  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83 (construct_check_openmp_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-openmp"<br>  does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190 (add_openmp_testsuite)<br>  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83 (construct_check_openmp_target)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-ompt" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-ompt" does<br>  not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomp" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target "check-libomp"<br>  does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomptarget-nvptx" does not<br>  exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target<br>  "check-libomptarget-nvptx" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang" of target "check-libomptarget" does not<br>  exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15 (add_openmp_testsuite)<br><br><br>CMake Error at /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402 (add_dependencies):<br>  The dependency target "clang-resource-headers" of target<br>  "check-libomptarget" does not exist.<br>Call Stack (most recent call first):<br>  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423 (add_lit_target)<br>  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175 (add_lit_testsuite)<br>  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15 (add_openmp_testsuite)<br><br><br>-- Generating done<br>-- Build files have been written to: /tmp/projects/llvm-project/20190528<br>FAILED: build.ninja<br>/fefs/home/r1050/opt/cmake-3.7.2/bin/cmake -H/tmp/projects/llvm-project/llvm -B/tmp/projects/llvm-project/20190528<br>ninja: error: rebuilding 'build.ninja': subcommand failed<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 28, 2019 at 7:18 PM Jonas Hahnfeld <<a href="mailto:hahnjo@hahnjo.de" target="_blank">hahnjo@hahnjo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Could you please include more relevant information such as which <br>
subprojects you want to build, your CMake invocation, and which error <br>
CMake prints. The CMakeError.log only contains information about which <br>
compiler tests failed which may be expected in some cases.<br>
<br>
Jonas<br>
<br>
On 2019-05-28 09:59, Itaru Kitayama via Openmp-dev wrote:<br>
> Hi,<br>
> Can anyone look into the log attached? It's been failing<br>
> in the last couples of days.<br>
> _______________________________________________<br>
> Openmp-dev mailing list<br>
> <a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
</blockquote></div>
</blockquote></div>