[Openmp-dev] Configuring Trunk branch on AArch64 fails

Jonas Hahnfeld via Openmp-dev openmp-dev at lists.llvm.org
Sat Jun 15 00:23:02 PDT 2019


You can use OPENMP_ENABLE_LIBOMPTARGET=OFF to disable libomptarget.
1) Disabling libomptarget won't help you with the errors you posted 
below.
2) This has nothing to do with AArch64, libomptarget should work there 
as well. In fact, there's even a host plugin for AArch64.

Jonas

On 2019-06-15 00:23, Itaru Kitayama wrote:
> Jonas, all,
> 
> How do I avoid building libomptarget, as I am on AArch64, that should
> be avoided, I think.
> I can not see relevant CMake variable to do that job.
> 
> Itaru.
> 
> On Wed, May 29, 2019 at 3:53 PM Jonas Hahnfeld <hahnjo at hahnjo.de>
> wrote:
> 
>> The error messages also point to problems outside of openmp:
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang" of target "check-all" does not
>> exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>>> 
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>> "check-all"
>>> does
>>> not exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>> 
>> Did you try removing your build directory and configuring from
>> scratch?
>> Below messages suggest that mkdir does not create a new one because
>> the
>> directory already exists. I'm not sure if you can easily modify
>> LLVM_ENABLE_PROJECTS after your first configuration attempt, so that
>> may
>> be a problem...
>> 
>> Jonas
>> 
>> On 2019-05-28 12:29, Itaru Kitayama wrote:
>>> Jonas,
>>> 
>>> See below for the CMake options and the error I saw:
>>> 
>>> 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
>>> #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
>>> 
>>> Already up-to-date.
>>> mkdir: cannot create directory ‘20190528’: File exists
>>> -- clang project is enabled
>>> -- clang-tools-extra project is disabled
>>> -- compiler-rt project is disabled
>>> -- debuginfo-tests project is disabled
>>> -- libclc project is disabled
>>> -- libcxx project is disabled
>>> -- libcxxabi project is disabled
>>> -- libunwind project is disabled
>>> -- lld project is enabled
>>> -- lldb project is disabled
>>> -- llgo project is disabled
>>> -- openmp project is enabled
>>> -- parallel-libs project is disabled
>>> -- polly project is disabled
>>> -- pstl project is disabled
>>> -- Could NOT find Z3: Found unsuitable version "0.0.0", but
>> required
>>> is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
>>> -- Native target architecture is AArch64
>>> -- Threads enabled.
>>> -- Doxygen disabled.
>>> 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
>>> -- Go bindings disabled, need at least Go 1.2.
>>> -- Ninja version: 1.9.0.git
>>> -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
>>> OCAML_STDLIB_PATH)
>>> -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
>>> OCAML_STDLIB_PATH)
>>> -- OCaml bindings disabled.
>>> -- LLVM host triple: aarch64-unknown-linux-gnu
>>> -- LLVM default target triple: aarch64-unknown-linux-gnu
>>> -- Building with -fPIC
>>> -- Constructing LLVMBuild project information
>>> -- Linker detection: GNU ld
>>> -- LLVMHello ignored -- Loadable modules not supported on this
>>> platform.
>>> -- Targeting AArch64
>>> -- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:
>>> LIBOMPTARGET_DEP_LIBFFI_LIBRARIES
>>> LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)
>>> -- LIBOMPTARGET: Building offloading runtime library libomptarget.
>>> -- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi
>>> dependency not found.
>>> -- LIBOMPTARGET: Not building CUDA offloading plugin: only support
>>> CUDA in Linux x86_64 or ppc64le hosts.
>>> -- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not
>>> found in the system.
>>> -- LIBOMPTARGET: Not building PPC64le offloading plugin: machine
>> not
>>> found in the system.
>>> -- LIBOMPTARGET: Not building x86_64 offloading plugin: machine
>> not
>>> found in the system.
>>> -- LIBOMPTARGET: Building CUDA offloading device RTL.
>>> -- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.
>>> -- BugpointPasses ignored -- Loadable modules not supported on
>> this
>>> platform.
>>> -- TestPlugin ignored -- Loadable modules not supported on this
>>> platform.
>>> -- git Version: v0.0.0
>>> -- Version: 0.0.0
>>> -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to
>> compile
>>> -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
>>> -- Performing Test HAVE_POSIX_REGEX -- success
>>> -- Performing Test HAVE_STEADY_CLOCK -- success
>>> -- Configuring done
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang" of target "check-all" does not
>> exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>>> 
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>> "check-all"
>>> does
>>> not exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-openmp" does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
>>> (add_openmp_testsuite)
>>> /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
>>> (construct_check_openmp_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-openmp"
>>> does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
>>> (add_openmp_testsuite)
>>> /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
>>> (construct_check_openmp_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-ompt" does not
>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-ompt" does
>>> not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-libomp" does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomp"
>>> does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target
>> "check-libomptarget-nvptx"
>>> does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomptarget-nvptx" does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-libomptarget"
>> does
>>> not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomptarget" does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
>>> (add_openmp_testsuite)
>>> 
>>> -- Generating done
>>> -- Build files have been written to:
>>> /tmp/projects/llvm-project/20190528
>>> [0/1] Re-running CMake...
>>> -- clang project is enabled
>>> -- clang-tools-extra project is disabled
>>> -- compiler-rt project is disabled
>>> -- debuginfo-tests project is disabled
>>> -- libclc project is disabled
>>> -- libcxx project is disabled
>>> -- libcxxabi project is disabled
>>> -- libunwind project is disabled
>>> -- lld project is enabled
>>> -- lldb project is disabled
>>> -- llgo project is disabled
>>> -- openmp project is enabled
>>> -- parallel-libs project is disabled
>>> -- polly project is disabled
>>> -- pstl project is disabled
>>> -- Could NOT find Z3: Found unsuitable version "0.0.0", but
>> required
>>> is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
>>> -- Native target architecture is AArch64
>>> -- Threads enabled.
>>> -- Doxygen disabled.
>>> 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
>>> -- Go bindings disabled, need at least Go 1.2.
>>> -- Ninja version: 1.9.0.git
>>> -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
>>> OCAML_STDLIB_PATH)
>>> -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
>>> OCAML_STDLIB_PATH)
>>> -- OCaml bindings disabled.
>>> -- LLVM host triple: aarch64-unknown-linux-gnu
>>> -- LLVM default target triple: aarch64-unknown-linux-gnu
>>> -- Building with -fPIC
>>> -- Constructing LLVMBuild project information
>>> -- Linker detection: GNU ld
>>> -- LLVMHello ignored -- Loadable modules not supported on this
>>> platform.
>>> -- Targeting AArch64
>>> -- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:
>>> LIBOMPTARGET_DEP_LIBFFI_LIBRARIES
>>> LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)
>>> -- LIBOMPTARGET: Building offloading runtime library libomptarget.
>>> -- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi
>>> dependency not found.
>>> -- LIBOMPTARGET: Not building CUDA offloading plugin: only support
>>> CUDA in Linux x86_64 or ppc64le hosts.
>>> -- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not
>>> found in the system.
>>> -- LIBOMPTARGET: Not building PPC64le offloading plugin: machine
>> not
>>> found in the system.
>>> -- LIBOMPTARGET: Not building x86_64 offloading plugin: machine
>> not
>>> found in the system.
>>> -- LIBOMPTARGET: Building CUDA offloading device RTL.
>>> -- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.
>>> -- BugpointPasses ignored -- Loadable modules not supported on
>> this
>>> platform.
>>> -- TestPlugin ignored -- Loadable modules not supported on this
>>> platform.
>>> -- git Version: v0.0.0
>>> -- Version: 0.0.0
>>> -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to
>> compile
>>> -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
>>> -- Performing Test HAVE_POSIX_REGEX -- success
>>> -- Performing Test HAVE_STEADY_CLOCK -- success
>>> -- Configuring done
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang" of target "check-all" does not
>> exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>>> 
>>> CMake Error at cmake/modules/AddLLVM.cmake:1402
>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>> "check-all"
>>> does
>>> not exist.
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:1001 (add_lit_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-openmp" does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
>>> (add_openmp_testsuite)
>>> /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
>>> (construct_check_openmp_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-openmp"
>>> does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
>>> (add_openmp_testsuite)
>>> /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
>>> (construct_check_openmp_target)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-ompt" does not
>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-ompt" does
>>> not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-libomp" does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomp"
>>> does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target
>> "check-libomptarget-nvptx"
>>> does not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomptarget-nvptx" does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang" of target "check-libomptarget"
>> does
>>> not
>>> exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
>>> (add_openmp_testsuite)
>>> 
>>> CMake Error at
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
>>> (add_dependencies):
>>> The dependency target "clang-resource-headers" of target
>>> "check-libomptarget" does not exist.
>>> Call Stack (most recent call first):
>>> /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
>>> (add_lit_target)
>>> /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
>>> (add_lit_testsuite)
>>> 
>>> 
>> 
> /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
>>> (add_openmp_testsuite)
>>> 
>>> -- Generating done
>>> -- Build files have been written to:
>>> /tmp/projects/llvm-project/20190528
>>> FAILED: build.ninja
>>> /fefs/home/r1050/opt/cmake-3.7.2/bin/cmake
>>> -H/tmp/projects/llvm-project/llvm
>>> -B/tmp/projects/llvm-project/20190528
>>> ninja: error: rebuilding 'build.ninja': subcommand failed
>>> 
>>> On Tue, May 28, 2019 at 7:18 PM Jonas Hahnfeld <hahnjo at hahnjo.de>
>>> wrote:
>>> 
>>>> Could you please include more relevant information such as which
>>>> subprojects you want to build, your CMake invocation, and which
>>>> error
>>>> CMake prints. The CMakeError.log only contains information about
>>>> which
>>>> compiler tests failed which may be expected in some cases.
>>>> 
>>>> Jonas
>>>> 
>>>> On 2019-05-28 09:59, Itaru Kitayama via Openmp-dev wrote:
>>>>> Hi,
>>>>> Can anyone look into the log attached? It's been failing
>>>>> in the last couples of days.
>>>>> _______________________________________________
>>>>> Openmp-dev mailing list
>>>>> Openmp-dev at lists.llvm.org
>>>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev


More information about the Openmp-dev mailing list