[Openmp-dev] Configuring Trunk branch on AArch64 fails

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Wed Jun 19 17:21:24 PDT 2019


CUDA Toolkit for _x86_ host was installed for some reason on our Arm server
thus
CMake was picking up the wrong version and complained about the
incompatibility.
After sysadmin removed the Toolkit, everything resumed working again.

On Sat, Jun 15, 2019 at 4:48 PM Itaru Kitayama <itaru.kitayama at gmail.com>
wrote:

> Thanks, Jonas. Now I am able to configure to the openmp project on Red Hat
> Enterprise
> Linux Server release 7.5 on Apollo. It has not GPUs attached, so for now,
> I'll always avoid
> building the libomptarget.
> Below is the output written to the terminal.
>
> Already up-to-date.
> -- The C compiler identification is Clang 9.0.0
> -- The CXX compiler identification is Clang 9.0.0
> -- The ASM compiler identification is Clang
> -- Found assembler: /fefs/home/r1050/opt/clang-trunk/bin/clang
> -- Check for working C compiler: /fefs/home/r1050/opt/clang-trunk/bin/clang
> -- Check for working C compiler:
> /fefs/home/r1050/opt/clang-trunk/bin/clang -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler:
> /fefs/home/r1050/opt/clang-trunk/bin/clang++
> -- Check for working CXX compiler:
> /fefs/home/r1050/opt/clang-trunk/bin/clang++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- No build type selected, default to Debug
> -- 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)
> -- Performing Test LLVM_LIBSTDCXX_MIN
> -- Performing Test LLVM_LIBSTDCXX_MIN - Success
> -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR
> -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success
> -- Looking for dlfcn.h
> -- Looking for dlfcn.h - found
> -- Looking for errno.h
> -- Looking for errno.h - found
> -- Looking for fcntl.h
> -- Looking for fcntl.h - found
> -- Looking for link.h
> -- Looking for link.h - found
> -- Looking for malloc/malloc.h
> -- Looking for malloc/malloc.h - not found
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for signal.h
> -- Looking for signal.h - found
> -- Looking for sys/ioctl.h
> -- Looking for sys/ioctl.h - found
> -- Looking for sys/mman.h
> -- Looking for sys/mman.h - found
> -- Looking for sys/param.h
> -- Looking for sys/param.h - found
> -- Looking for sys/resource.h
> -- Looking for sys/resource.h - found
> -- Looking for sys/stat.h
> -- Looking for sys/stat.h - found
> -- Looking for sys/time.h
> -- Looking for sys/time.h - found
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for termios.h
> -- Looking for termios.h - found
> -- Looking for unistd.h
> -- Looking for unistd.h - found
> -- Looking for valgrind/valgrind.h
> -- Looking for valgrind/valgrind.h - not found
> -- Looking for zlib.h
> -- Looking for zlib.h - found
> -- Looking for fenv.h
> -- Looking for fenv.h - found
> -- Looking for FE_ALL_EXCEPT
> -- Looking for FE_ALL_EXCEPT - found
> -- Looking for FE_INEXACT
> -- Looking for FE_INEXACT - found
> -- Looking for mach/mach.h
> -- Looking for mach/mach.h - not found
> -- Looking for histedit.h
> -- Looking for histedit.h - not found
> -- Looking for CrashReporterClient.h
> -- Looking for CrashReporterClient.h - not found
> -- Looking for linux/magic.h
> -- Looking for linux/magic.h - found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Looking for pthread_getspecific in pthread
> -- Looking for pthread_getspecific in pthread - found
> -- Looking for pthread_rwlock_init in pthread
> -- Looking for pthread_rwlock_init in pthread - found
> -- Looking for pthread_mutex_lock in pthread
> -- Looking for pthread_mutex_lock in pthread - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Looking for clock_gettime in rt
> -- Looking for clock_gettime in rt - found
> -- Looking for pfm_initialize in pfm
> -- Looking for pfm_initialize in pfm - not found
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Looking for compress2 in z
> -- Looking for compress2 in z - found
> -- Looking for setupterm in terminfo
> -- Looking for setupterm in terminfo - not found
> -- Looking for setupterm in tinfo
> -- Looking for setupterm in tinfo - found
> -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
> -- Looking for xar_open in xar
> -- Looking for xar_open in xar - not found
> -- Looking for arc4random
> -- Looking for arc4random - not found
> -- Looking for backtrace
> -- Looking for backtrace - found
> -- backtrace facility detected in default set of libraries
> -- Found Backtrace: /usr/include
> -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
> -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
> -- Looking for _Unwind_Backtrace
> -- Looking for _Unwind_Backtrace - found
> -- Looking for getpagesize
> -- Looking for getpagesize - found
> -- Looking for sysconf
> -- Looking for sysconf - found
> -- Looking for getrusage
> -- Looking for getrusage - found
> -- Looking for setrlimit
> -- Looking for setrlimit - found
> -- Looking for isatty
> -- Looking for isatty - found
> -- Looking for futimens
> -- Looking for futimens - found
> -- Looking for futimes
> -- Looking for futimes - found
> -- Looking for posix_fallocate
> -- Looking for posix_fallocate - found
> -- Looking for sigaltstack
> -- Looking for sigaltstack - found
> -- Looking for lseek64
> -- Looking for lseek64 - found
> -- Looking for mallctl
> -- Looking for mallctl - not found
> -- Looking for mallinfo
> -- Looking for mallinfo - found
> -- Looking for malloc_zone_statistics
> -- Looking for malloc_zone_statistics - not found
> -- Looking for getrlimit
> -- Looking for getrlimit - found
> -- Looking for posix_spawn
> -- Looking for posix_spawn - found
> -- Looking for pread
> -- Looking for pread - found
> -- Looking for sbrk
> -- Looking for sbrk - found
> -- Looking for strerror
> -- Looking for strerror - found
> -- Looking for strerror_r
> -- Looking for strerror_r - found
> -- Looking for strerror_s
> -- Looking for strerror_s - not found
> -- Looking for setenv
> -- Looking for setenv - found
> -- Looking for dlopen
> -- Looking for dlopen - found
> -- Looking for dladdr
> -- Looking for dladdr - not found
> -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
> -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
> -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
> -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
> -- Looking for __GLIBC__
> -- Looking for __GLIBC__ - found
> -- Looking for sched_getaffinity
> -- Looking for sched_getaffinity - found
> -- Looking for CPU_COUNT
> -- Looking for CPU_COUNT - found
> -- Looking for pthread_getname_np
> -- Looking for pthread_getname_np - found
> -- Looking for pthread_setname_np
> -- Looking for pthread_setname_np - found
> -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
> -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success
> -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
> -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
> -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
> -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
> -- Performing Test LLVM_HAS_ATOMICS
> -- Performing Test LLVM_HAS_ATOMICS - Success
> -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
> -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
> -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
> -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -
> Success
> -- 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.
> -- Could NOT find Python module pygments
> -- Could NOT find Python module pygments.lexers.c_cpp
> -- Could NOT find Python module yaml
> -- LLVM host triple: aarch64-unknown-linux-gnu
> -- LLVM default target triple: aarch64-unknown-linux-gnu
> -- Performing Test C_SUPPORTS_FPIC
> -- Performing Test C_SUPPORTS_FPIC - Success
> -- Performing Test CXX_SUPPORTS_FPIC
> -- Performing Test CXX_SUPPORTS_FPIC - Success
> -- Building with -fPIC
> -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
> -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
> -- Performing Test C_SUPPORTS_WERROR_DATE_TIME
> -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
> -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
> -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
> -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
> -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
> -- Performing Test CXX_SUPPORTS_CXX_STD
> -- Performing Test CXX_SUPPORTS_CXX_STD - Success
> -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
> -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
> -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
> -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
> -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
> -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
> -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
> -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
> -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
> -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
> -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
> -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
> -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
> -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
> -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
> -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
> -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
> -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
> -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
> -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
> -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
> -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
> -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
> -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
> -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
> -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
> -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
> -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
> -- Looking for os_signpost_interval_begin
> -- Looking for os_signpost_interval_begin - not found
> -- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.5")
> -- Constructing LLVMBuild project information
> -- Found Git: /usr/bin/git (found version "1.8.3.1")
> -- Linker detection: GNU ld
> -- Targeting AArch64
> -- Performing Test OPENMP_HAVE_WERROR_FLAG
> -- Performing Test OPENMP_HAVE_WERROR_FLAG - Success
> -- Performing Test OPENMP_HAVE_STD_GNUPP11_FLAG
> -- Performing Test OPENMP_HAVE_STD_GNUPP11_FLAG - Success
> -- Performing Test OPENMP_HAVE_STD_CPP11_FLAG
> -- Performing Test OPENMP_HAVE_STD_CPP11_FLAG - Success
> -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG
> -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG - Success
> -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG
> -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG - Success
> -- Performing Test LIBOMP_HAVE_X_CPP_FLAG
> -- Performing Test LIBOMP_HAVE_X_CPP_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG
> -- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_FUNCTION_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_FUNCTION_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_LOCAL_TYPEDEF_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_LOCAL_TYPEDEF_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_VALUE_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_VALUE_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_VARIABLE_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_UNUSED_VARIABLE_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_DEPRECATED_REGISTER_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_DEPRECATED_REGISTER_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_SIGN_COMPARE_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_SIGN_COMPARE_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_GNU_ANONYMOUS_STRUCT_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_GNU_ANONYMOUS_STRUCT_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_UNKNOWN_PRAGMAS_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_UNKNOWN_PRAGMAS_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_MISSING_FIELD_INITIALIZERS_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_MISSING_FIELD_INITIALIZERS_FLAG -
> Success
> -- Performing Test LIBOMP_HAVE_WNO_MISSING_BRACES_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_MISSING_BRACES_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_COMMENT_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_COMMENT_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_SELF_ASSIGN_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_SELF_ASSIGN_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_VLA_EXTENSION_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_VLA_EXTENSION_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WNO_FORMAT_PEDANTIC_FLAG
> -- Performing Test LIBOMP_HAVE_WNO_FORMAT_PEDANTIC_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG
> -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Failed
> -- Performing Test LIBOMP_HAVE_MSSE2_FLAG
> -- Performing Test LIBOMP_HAVE_MSSE2_FLAG - Success
> -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG
> -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG - Success
> -- Performing Test LIBOMP_HAVE_MMIC_FLAG
> -- Performing Test LIBOMP_HAVE_MMIC_FLAG - Failed
> -- Performing Test LIBOMP_HAVE_M32_FLAG
> -- Performing Test LIBOMP_HAVE_M32_FLAG - Failed
> -- Performing Test LIBOMP_HAVE_X_FLAG
> -- Performing Test LIBOMP_HAVE_X_FLAG - Success
> -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG
> -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG - Success
> -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG
> -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG - Success
> -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG
> -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG - Success
> -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG
> -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG - Success
> -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG
> -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG - Success
> -- Performing Test LIBOMP_HAVE_FINI_FLAG
> -- Performing Test LIBOMP_HAVE_FINI_FLAG - Success
> -- Found Perl: /usr/bin/perl (found version "5.16.3")
> -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS
> -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS - Success
> -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS
> -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS - Success
> -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE
> -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE - Success
> -- Looking for include files windows.h, psapi.h
> -- Looking for include files windows.h, psapi.h - not found
> -- Looking for EnumProcessModules in psapi
> -- Looking for EnumProcessModules in psapi - not found
> -- Looking for sqrt in m
> -- Looking for sqrt in m - found
> -- Looking for __atomic_load_1
> -- Looking for __atomic_load_1 - not found
> -- Looking for __atomic_load_1 in atomic
> -- Looking for __atomic_load_1 in atomic - found
> -- Looking for sys/resource.h
> -- Looking for sys/resource.h - found
> -- Clang version: 9.0.0
> -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
> -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
> -- LLD version: 9.0.0
> -- git Version: v0.0.0
> -- Version: 0.0.0
> -- Performing Test HAVE_CXX_FLAG_STD_CXX11
> -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
> -- Performing Test HAVE_CXX_FLAG_WALL
> -- Performing Test HAVE_CXX_FLAG_WALL - Success
> -- Performing Test HAVE_CXX_FLAG_WEXTRA
> -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
> -- Performing Test HAVE_CXX_FLAG_WSHADOW
> -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
> -- Performing Test HAVE_CXX_FLAG_PEDANTIC
> -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
> -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
> -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
> -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
> -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
> -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
> -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
> -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
> -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
> -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
> -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
> -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
> -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
> -- Performing Test HAVE_CXX_FLAG_WD654
> -- Performing Test HAVE_CXX_FLAG_WD654 - Failed
> -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
> -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
> -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
> -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
> -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
> -- Performing Test HAVE_CXX_FLAG_COVERAGE
> -- Performing Test HAVE_CXX_FLAG_COVERAGE - Failed
> -- Performing Test HAVE_GNU_POSIX_REGEX
> -- Performing Test HAVE_GNU_POSIX_REGEX
> -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
> -- Performing Test HAVE_POSIX_REGEX
> -- Performing Test HAVE_POSIX_REGEX
> -- Performing Test HAVE_POSIX_REGEX -- success
> -- Performing Test HAVE_STEADY_CLOCK
> -- Performing Test HAVE_STEADY_CLOCK
> -- Performing Test HAVE_STEADY_CLOCK -- success
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /tmp/projects/llvm-project/201906151639
>
> On Sat, Jun 15, 2019 at 4:23 PM Jonas Hahnfeld <hahnjo at hahnjo.de> wrote:
>
>> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20190620/5891dfb6/attachment-0001.html>


More information about the Openmp-dev mailing list