[Mesa-dev] [clover] Compilation of latest 'libclc git' with LLVM 11.0.0git need ROCm?! - Didn't hit that ever before.
Jan Vesely
jan.vesely at rutgers.edu
Thu Apr 16 16:41:59 UTC 2020
On Wed, 2020-04-15 at 06:31 +0200, Dieter Nützel wrote:
> Am 15.04.2020 05:50, schrieb Jan Vesely:
> > On Wed, 2020-04-15 at 05:40 +0200, Dieter Nützel wrote:
> > > Addendum
> > >
> > > I'm building LLVM git (llvm + SPIRV-LLVM-Translator) for X86;AMDGPU
> > > like
> > > this:
> >
> > there's nothing wrong with your build. rocm libs are required by clang
> > when it targets amdgcn--amdhsa target. Unless you know that you want
> > libclc for amdhsa, you probably don't want to build it.
> >
> > nit: configure.py was dropped from libclc months ago, it's generally
> > better to build the latest git. it now comes in llvm monorepo.
>
> Oh,
>
> my BAD, sorry Jan.
> Is it in this path/tree, now?
sorry for the delay, my email was acting up.
yes, that's the location. the cmake build system is not yet integrated
with llvm-project (wip), and it needs a a working llvm+clang
installation (-DLLVM_CONFIG should point to installed llvm-config).
there has been couple of fixes but youprobably didn't miss much.
thanks for the README pointer I'll submit a patch to fix that.
and thanks for building and testing clover.
Jan
>
> llvm-project/libclc> l
> insgesamt 108
> drwxr-xr-x 13 dieter users 4096 15. Apr 02:53 .
> drwxr-xr-x 22 dieter users 4096 15. Apr 02:53 ..
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 amdgcn
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 amdgcn-amdhsa
> lrwxrwxrwx 1 dieter users 13 15. Nov 00:55 amdgcn-mesa3d ->
> amdgcn-amdhsa
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 amdgpu
> -rwxr-xr-x 1 dieter users 697 15. Nov 00:55 check_external_calls.sh
> drwxr-xr-x 2 dieter users 4096 15. Apr 02:53 cmake
> -rw-r--r-- 1 dieter users 10537 15. Apr 02:53 CMakeLists.txt
> -rwxr-xr-x 1 dieter users 224 15. Nov 00:55 compile-test.sh
> -rw-r--r-- 1 dieter users 42 15. Nov 00:55 CREDITS.TXT
> drwxr-xr-x 4 dieter users 4096 15. Nov 00:55 generic
> -rw-r--r-- 1 dieter users 235 15. Nov 00:55 .gitignore
> -rw-r--r-- 1 dieter users 281 15. Nov 00:55 libclc.pc.in
> -rw-r--r-- 1 dieter users 16469 15. Nov 00:55 LICENSE.TXT
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 ptx
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 ptx-nvidiacl
> drwxr-xr-x 3 dieter users 4096 15. Nov 00:55 r600
> -rw-r--r-- 1 dieter users 1623 15. Nov 00:55 README.TXT
> drwxr-xr-x 2 dieter users 4096 15. Nov 00:55 test
> drwxr-xr-x 2 dieter users 4096 15. Nov 00:55 utils
> drwxr-xr-x 2 dieter users 4096 15. Nov 00:55 www
>
> Then 'README.TXT' have to updated, too. --- configure.py...
>
> Greetings,
>
> Dieter
>
> > @Matt, the -amdhsa triple was introduced by AMD. I don't think there's
> > any other user so if AMD doesn't have a use for it, we should drop it.
> >
> > Jan
> >
> > > /opt/llvm-project/llvm
> > >
> > > mkdir build
> > > cd build
> > > cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang"
> > > -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_APPEND_VC_REV=OFF
> > > -DCMAKE_BUILD_TYPE="Release" -DLLVM_LINK_LLVM_DYLIB=ON
> > > -DLLVM_ENABLE_RTTI=ON -DLLVM_PARALLEL_COMPILE_JOBS="9" ../
> > >
> > > -- The C compiler identification is GNU 9.3.1
> > > -- The CXX compiler identification is GNU 9.3.1
> > > -- The ASM compiler identification is GNU
> > > -- Found assembler: /usr/bin/cc
> > > -- Check for working C compiler: /usr/bin/cc
> > > -- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++
> > > -- Check for working CXX compiler: /usr/bin/c++ - works
> > > -- Detecting CXX compiler ABI info
> > > -- Detecting CXX compiler ABI info - done
> > > -- Detecting CXX compile features
> > > -- Detecting CXX compile features - done
> > > -- clang project is enabled
> > > -- clang-tools-extra project is disabled
> > > -- compiler-rt project is disabled
> > > -- debuginfo-tests project is disabled
> > > -- libc project is disabled
> > > -- libclc project is disabled
> > > -- libcxx project is disabled
> > > -- libcxxabi project is disabled
> > > -- libunwind project is disabled
> > > -- lld project is disabled
> > > -- lldb project is disabled
> > > -- mlir project is disabled
> > > -- openmp project is disabled
> > > -- parallel-libs project is disabled
> > > -- polly project is disabled
> > > -- pstl project is disabled
> > > -- flang project is disabled
> > > -- Found Z3: /usr/lib64/libz3.so (found suitable version "4.8.8",
> > > minimum required is "4.7.1")
> > > -- 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 - 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
> > > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> > > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
> > > -- 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 el_init in edit
> > > -- Looking for el_init in edit - 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.10")
> > > -- 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 -
> > > Failed
> > > -- 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 -
> > > Failed
> > > -- Performing Test HAS_MAYBE_UNINITIALIZED
> > > -- Performing Test HAS_MAYBE_UNINITIALIZED - Success
> > > -- Native target architecture is X86
> > > -- Threads enabled.
> > > -- Doxygen disabled.
> > > -- Go bindings disabled.
> > > -- Ninja version: 1.10.0
> > > -- 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: x86_64-unknown-linux-gnu
> > > -- LLVM default target triple: x86_64-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 -
> > > Failed
> > > -- 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 - Failed
> > > -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
> > > -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
> > > -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
> > > -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
> > > -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
> > > -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success
> > > -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
> > > -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
> > > -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
> > > -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
> > > -- 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 - Failed
> > > -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
> > > -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
> > > -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
> > > -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
> > > -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
> > > -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
> > > -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
> > > -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
> > > -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
> > > -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
> > > -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
> > > -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
> > > -- Performing Test C_SUPPORTS_FDATA_SECTIONS
> > > -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
> > > -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
> > > -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
> > > -- Looking for os_signpost_interval_begin
> > > -- Looking for os_signpost_interval_begin - not found
> > > -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.2")
> > > -- Constructing LLVMBuild project information
> > > -- Found Git: /usr/bin/git (found version "2.26.0")
> > > -- Linker detection: GNU ld
> > > -- Targeting X86
> > > -- Targeting AMDGPU
> > > -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3")
> > > -- Checking for one of the modules 'SPIRV-Tools'
> > > -- Looking for sys/resource.h
> > > -- Looking for sys/resource.h - found
> > > -- Clang version: 11.0.0
> > > -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
> > > -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
> > > -- Looking for include file sys/inotify.h
> > > -- Looking for include file sys/inotify.h - found
> > > -- Registering Bye as a pass plugin (static build: OFF)
> > > -- Failed to find LLVM FileCheck
> > > -- 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 - Failed
> > > -- 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 - Failed
> > > -- Performing Test HAVE_CXX_FLAG_COVERAGE
> > > -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
> > > -- 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: /opt/llvm-project/llvm/build
> > >
> > > Am 15.04.2020 05:25, schrieb Dieter Nützel:
> > > > Hello Jan, hello all,
> > > >
> > > > compiling latest libclc git
> > > > 9aa6f35 (HEAD -> master, origin/master, origin/HEAD) travis: Add LLVM 9
> > > > build
> > > >
> > > > with LLVM 11.0.0git from today
> > > > b30246087a3 (HEAD -> master) [llvm][StringExtras] Add missing include
> > > > of cctype
> > > >
> > > > ./configure.py && time nice +19 make -j8
> > > >
> > > > resulted in this error:
> > > >
> > > > PREPARE-BUILTINS built_libs/tahiti-amdgcn--.bc
> > > > LLVM-CC amdgcn--amdhsa/lib/workitem/get_global_size.cl.bc
> > > > clang-11: error: cannot find ROCm installation. Provide its path via
> > > > --rocm-path, or pass -nogpulib.
> > > > make: *** [Makefile:8132:
> > > > amdgcn--amdhsa/lib/workitem/get_global_size.cl.bc] Fehler 1
> > > > 242.706u 1.148s 4:03.87 99.9% 0+0k 0+177176io 0pf+0w
> > > >
> > > > Since when is ROCm needed?
> > > >
> > > > Thanks,
> > > >
> > > > Dieter
> > > > _______________________________________________
> > > > mesa-dev mailing list
> > > > mesa-dev at lists.freedesktop.org
> > > > https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Cjan.vesely%40cs.rutgers.edu%7C745166e72e964d32afe608d7e0f5e19b%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C637225218999293792&sdata=gl55g7OPBiqUmDEgoeLpLvPdDerJQ2uyUElIoHU06KY%3D&reserved=0
More information about the mesa-dev
mailing list