pocl: 3.1: cmake fails with llvm 16.0.2
Looks like pocl
cmake fails with latest llvm 16.,0.2 which is failing on trying to use llvm-config
script (why pocl
is not using directly llvm cmake module?)
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D ENABLE_ICD=ON -D 'EXTRA_KERNEL_CXX_FLAGS=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' -D POCL_ICD_ABSOLUTE_PATH=OFF -D POCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors -D KERNELLIB_HOST_CPU_VARIANTS=distro
CMake Deprecation Warning at CMakeLists.txt:27 (cmake_policy):
The OLD behavior for policy CMP0067 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- CMAKE_LIBRARY_ARCHITECTURE:
-- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES
-- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success
-- No git and/or not a prerelease -> not adding git commit to version.
-- Host CPU cores: 48
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.4")
-- Checking for module 'hwloc'
-- Found hwloc, version 2.9.0
-- Found Hwloc: hwloc
-- Found hwloc 2.9.0 in :hwloc
-- Hwloc_VERSION 2.9.0
-- Hwloc_LIBRARIES hwloc
-- Hwloc_INCLUDE_DIRS
-- L1D Cacheline size detected: 64
-- Using llvm-config: /usr/bin/llvm-config
-- LLVM binaries suffix :
-- llvm-config's LLVM_PREFIX is: /usr
-- llvm-config's LLVM_VERSION_FULL is: 16.0.2
-- LLVM_VERSION: 16.0
-- llvm-config's LLVM_CFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- llvm-config's LLVM_CXXFLAGS is: -I/usr/include -std=c++17 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- llvm-config's LLVM_CPPFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- llvm-config's LLVM_LDFLAGS is: -L/usr/lib64
-- llvm-config's LLVM_BINDIR is: /usr/bin
-- llvm-config's LLVM_LIBDIR is: /usr/lib64
-- llvm-config's LLVM_INCLUDEDIR is: /usr/include
usage: llvm-config <OPTION>... [<COMPONENT>...]
Get various configuration information needed to compile programs which use
LLVM. Typically called from 'configure' scripts. Examples:
llvm-config --cxxflags
llvm-config --ldflags
llvm-config --libs engine bcreader scalaropts
Options:
--assertion-mode Print assertion mode of LLVM tree (ON or OFF).
--bindir Directory containing LLVM executables.
--build-mode Print build mode of LLVM tree (e.g. Debug or Release).
--build-system Print the build system used to build LLVM (e.g. `cmake` or `gn`).
--cflags C compiler flags for files that include LLVM headers.
--cmakedir Directory containing LLVM CMake modules.
--components List of all possible components.
--cppflags C preprocessor flags for files that include LLVM headers.
--cxxflags C++ compiler flags for files that include LLVM headers.
--has-rtti Print whether or not LLVM was built with rtti (YES or NO).
--help Print a summary of llvm-config arguments.
--host-target Target triple used to configure LLVM.
--ignore-libllvm Ignore libLLVM and link component libraries instead.
--includedir Directory containing LLVM headers.
--ldflags Print Linker flags.
--libdir Directory containing LLVM libraries.
--libfiles Fully qualified library filenames for makefile depends.
--libnames Bare library names for in-tree builds.
--libs Libraries needed to link against LLVM components.
--link-shared Link the components as shared libraries.
--link-static Link the component libraries statically.
--obj-root Print the object root used to build LLVM.
--prefix Print the installation prefix.
--shared-mode Print how the provided components can be collectively linked (`shared` or `static`).
--system-libs System Libraries needed to link against LLVM components.
--targets-built List of all targets currently built.
--version Print LLVM version.
Typical components:
all All LLVM libraries (default).
engine Either a native JIT or a bitcode interpreter.
CMake Error at cmake/LLVM.cmake:88 (message):
Error running llvm-config with arguments: --src-root
Call Stack (most recent call first):
cmake/LLVM.cmake:125 (run_llvm_config)
CMakeLists.txt:481 (include)
-- llvm-config's LLVM_OBJ_ROOT is: /usr
-- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore
-- llvm-config's LLVM_HOST_TARGET is: x86_64-unknown-linux-gnu
-- llvm-config's LLVM_BUILD_MODE is: RelWithDebInfo
-- llvm-config's LLVM_ASSERTS_BUILD is: OFF
-- llvm-config's LLVM_HAS_RTTI is: YES
-- llvm-config's LLVM_LIBS is: -lLLVM-16
-- llvm-config's LLVM_SYSLIBS is:
-- Found clang: /usr/bin/clang
-- Found clang++: /usr/bin/clang++
-- Found opt: /usr/bin/opt
-- Found llc: /usr/bin/llc
-- Found llvm-as: /usr/bin/llvm-as
-- Found llvm-link: /usr/bin/llvm-link
-- Found lli: /usr/bin/lli
-- udivmodti4 compiles without extra flags
-- Checking if LLVM is a DEBUG build
-- DEBUG build
-- Find out LLC target triple (for host x86_64-unknown-linux-gnu)
-- Find out LLC host CPU with /usr/bin/llc
-- Checking clang -march vs. -mcpu flag
-- Using -march=
-- LLVM link test OK
-- Checking fp16 support
-- FP16 is disabled: 1
-- Looking for fork
-- Looking for fork - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for utime
-- Looking for utime - found
-- Looking for ANNOTATE_HAPPENS_BEFORE
-- Looking for ANNOTATE_HAPPENS_BEFORE - not found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemps
-- Looking for mkstemps - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for mkostemps
-- Looking for mkostemps - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Performing Test HAVE_64BIT_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_64BIT_ATOMICS_WITHOUT_LIB - Success
-- Private Datadir Relative path: ../share/pocl
-- Compiler supports IPO: YES
-- Enable Link-Time Optimization (IPO) while building pocl runtime : 1
-- Found Python3: /usr/bin/python3.8 (found version "3.8.16") found components: Interpreter
-- libdl found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'lttng-ust>=2.7'
-- Package 'lttng-ust', required by 'virtual:world', not found
-- Checking for module 'ocl-icd>=1.3'
-- Found ocl-icd, version 2.3.1
-- Using an ICD loader (cached): 1
-- Run tests with ICD: 1
-- OpenCL.h not found or ICD disabled or ICD >= 3.0, using our headers
-- Failed to find tcecc or openasip-config, disabling TCE
-- TCE support : 0
-- Building the following device drivers: basic pthreads
-- Using generic OpenCL 2.0 atomics
-- sse2 SLEEF: 512bit vectors NOT available.
-- sse2 SLEEF: 256bit vectors NOT available.
-- sse2 SLEEF: 128bit vectors available.
-- sse2 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/spir_wrapper_128bit.ll.bc
-- sse2 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse2/sleef.bc
-- Host Kernel BC for "sse2": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-sse2.bc
-- ssse3 SLEEF: 512bit vectors NOT available.
-- ssse3 SLEEF: 256bit vectors NOT available.
-- ssse3 SLEEF: 128bit vectors available.
-- ssse3 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/spir_wrapper_128bit.ll.bc
-- ssse3 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/ssse3/sleef.bc
-- Host Kernel BC for "ssse3": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-ssse3.bc
-- sse41 SLEEF: 512bit vectors NOT available.
-- sse41 SLEEF: 256bit vectors NOT available.
-- sse41 SLEEF: 128bit vectors available.
-- sse41 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/spir_wrapper_128bit.ll.bc
-- sse41 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/sse41/sleef.bc
-- Host Kernel BC for "sse41": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-sse41.bc
-- avx SLEEF: 512bit vectors NOT available.
-- avx SLEEF: 256bit vectors available.
-- avx SLEEF: 128bit vectors available.
-- avx SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/v256_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/v256_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/spir_wrapper_256bit.ll.bc
-- avx SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx/sleef.bc
-- Host Kernel BC for "avx": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-avx.bc
-- avx_f16c SLEEF: 512bit vectors NOT available.
-- avx_f16c SLEEF: 256bit vectors available.
-- avx_f16c SLEEF: 128bit vectors available.
-- avx_f16c SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/v256_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/v256_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/spir_wrapper_256bit.ll.bc
-- avx_f16c SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_f16c/sleef.bc
-- Host Kernel BC for "avx_f16c": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-avx_f16c.bc
-- avx_fma4 SLEEF: 512bit vectors NOT available.
-- avx_fma4 SLEEF: 256bit vectors available.
-- avx_fma4 SLEEF: 256bit hardware FMA available.
-- avx_fma4 SLEEF: 128bit vectors available.
-- avx_fma4 SLEEF: 128bit hardware FMA available.
-- avx_fma4 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/v256_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/v256_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/spir_wrapper_256bit.ll.bc
-- avx_fma4 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx_fma4/sleef.bc
-- Host Kernel BC for "avx_fma4": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-avx_fma4.bc
-- avx2 SLEEF: 512bit vectors NOT available.
-- avx2 SLEEF: 256bit vectors available.
-- avx2 SLEEF: 256bit hardware FMA available.
-- avx2 SLEEF: 128bit vectors available.
-- avx2 SLEEF: 128bit hardware FMA available.
-- avx2 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/v256_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/v256_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/spir_wrapper_256bit.ll.bc
-- avx2 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx2/sleef.bc
-- Host Kernel BC for "avx2": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-avx2.bc
-- avx512 SLEEF: 512bit vectors available.
-- avx512 SLEEF: 512bit hardware FMA available.
-- avx512 SLEEF: 256bit vectors available.
-- avx512 SLEEF: 256bit hardware FMA available.
-- avx512 SLEEF: 128bit vectors available.
-- avx512 SLEEF: 128bit hardware FMA available.
-- avx512 SLEEF bc list: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/c_sleefsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/c_sleefdp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/c_sleef_glue_auto.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v512_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v512_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v256_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v256_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v128_sleefsimdsp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/v128_sleefsimddp.c.bc;/home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/spir_wrapper_512bit.ll.bc
-- avx512 SLEEF bc: /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/avx512/sleef.bc
-- Host Kernel BC for "avx512": /home/tkloczko/rpmbuild/BUILD/pocl-3.1/x86_64-redhat-linux-gnu/lib/kernel/host/kernel-x86_64-unknown-linux-gnu-avx512.bc
-- CPACK_DEBIAN_ICD_PACKAGE_DEPENDS
-- CPACK_DEBIAN_ICD_PACKAGE_NAME
-- CPACK_DEBIAN_ICD_PACKAGE_PROVIDES
-- CPACK_DEBIAN_ICD_PACKAGE_RECOMMENDS
-- CPACK_DEBIAN_LIB_PACKAGE_BREAKS
-- CPACK_DEBIAN_LIB_PACKAGE_DEPENDS
-- CPACK_DEBIAN_LIB_PACKAGE_NAME
-- CPACK_DEBIAN_LIB_PACKAGE_RECOMMENDS
-- CPACK_DEBIAN_LIB_PACKAGE_REPLACES
-- OPENCL_LIBS: Threads::Threads;OpenCL
-- OPENCL_CFLAGS:
-- POCLU LINK OPTS: poclu;Threads::Threads;OpenCL;-lm
-- CPACK_DEBIAN_ICD_PACKAGE_DEPENDS
-- CPACK_DEBIAN_ICD_PACKAGE_NAME
-- CPACK_DEBIAN_ICD_PACKAGE_PROVIDES
-- CPACK_DEBIAN_ICD_PACKAGE_RECOMMENDS
-- CPACK_DEBIAN_LIB_PACKAGE_BREAKS
-- CPACK_DEBIAN_LIB_PACKAGE_DEPENDS
-- CPACK_DEBIAN_LIB_PACKAGE_NAME
-- CPACK_DEBIAN_LIB_PACKAGE_RECOMMENDS
-- CPACK_DEBIAN_LIB_PACKAGE_REPLACES
-- CPACK_DEBIAN_POCLCC_PACKAGE_DEPENDS
-- CPACK_DEBIAN_POCLCC_PACKAGE_NAME
--
-- *********************** SUMMARY ***************************
--
-- ******* Directories:
--
-- CMAKE_INSTALL_PREFIX: /usr
-- POCL_INSTALL_CMAKE_CONFIG_DIR: /usr/lib64/pocl/cmake
-- POCL_INSTALL_ICD_VENDORDIR: /etc/OpenCL/vendors
-- POCL_INSTALL_OPENCL_HEADER_DIR: /usr/include/CL
-- POCL_INSTALL_PKGCONFIG_DIR: /usr/lib64/pkgconfig
-- POCL_INSTALL_PRIVATE_DATADIR: /usr/share/pocl
-- POCL_INSTALL_PRIVATE_HEADER_DIR: /usr/share/pocl/include
-- POCL_INSTALL_PRIVATE_LIBDIR: /usr/lib64/pocl
-- POCL_INSTALL_PUBLIC_BINDIR: /usr/bin
-- POCL_INSTALL_PUBLIC_HEADER_DIR: /usr/include
-- POCL_INSTALL_PUBLIC_LIBDIR: /usr/lib64
--
--
-- ******* LLVM Programs:
--
-- LLVM_CONFIG: /usr/bin/llvm-config
-- LLVM_OPT: /usr/bin/opt
-- LLVM_LLC: /usr/bin/llc
-- LLVM_AS: /usr/bin/llvm-as
-- LLVM_LINK: /usr/bin/llvm-link
-- LLVM_LLI: /usr/bin/lli
-- WITH_LLVM_CONFIG (User preferred llvm-config):
--
-- ******* Various Flags:
--
-- CL_DISABLE_HALF: 1
-- HAVE_CLOCK_GETTIME: 1
-- HAVE_GLEW:
-- HAVE_LTTNG_UST: 0
-- HOST_AS_FLAGS:
-- HOST_CLANG_FLAGS: --target=x86_64-unknown-linux-gnu -D_CL_DISABLE_HALF
-- HOST_LD_FLAGS: -shared
-- HOST_LLC_FLAGS: -relocation-model=pic -mtriple=x86_64-unknown-linux-gnu
--
-- LIB_API_VERSION: 2
-- LIB_BUILD_VERSION: 2.10.0
-- ICD_LD_FLAGS: -Wl,-Bsymbolic
-- EXTRA_KERNEL_FLAGS:
-- EXTRA_KERNEL_CXX_FLAGS: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-- EXTRA_KERNEL_CL_FLAGS:
-- EXTRA_KERNEL_C_FLAGS:
-- final KERNEL_CXX_FLAGS: -xc++ -std=c++11 -fno-stack-protector -fPIC -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-- final KERNEL_CL_FLAGS: -xcl -fno-stack-protector -fPIC
-- final KERNEL_C_FLAGS: -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC
--
-- CLANG_HAS_64B_MATH: ON
-- CLANG_HAS_128B_MATH: ON
-- CLANG_NEEDS_RTLIB: OFF
-- CLANG_MARCH_FLAG: -march=
-- CLANG_TARGET_OPTION: --target=
-- LLVM_VERSION: 16.0
-- LLVM_LIB_IS_SHARED:
-- LLVM_HAS_RTTI: YES
-- LLVM_LIB_MODE: --link-shared
-- LLVM_ASSERTS_BUILD: OFF
-- LLVM_BUILD_MODE: RelWithDebInfo
-- LLVM_CFLAGS: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- LLVM_CXXFLAGS: -I/usr/include -std=c++17 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- LLVM_CPPFLAGS: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- LLVM_LDFLAGS: -L/usr/lib64 -Wl,--exclude-libs,libclang-cpp
-- LLVM_LIBDIR: /usr/lib64
-- LLVM_INCLUDEDIR: /usr/include
-- LLVM_SRC_ROOT:
-- LLVM_OBJ_ROOT: /usr
-- LLVM_INCLUDE_DIRS:
-- LLVM_ALL_TARGETS: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore
-- LLVM_HOST_TARGET: x86_64-unknown-linux-gnu
-- LLC_TRIPLE: x86_64-unknown-linux-gnu
-- LLC_HOST_CPU: skylake-avx512
--
-- MAX_EXTENDED_ALIGNMENT: 128
-- OCL_KERNEL_TARGET: x86_64-unknown-linux-gnu
-- OCL_KERNEL_TARGET_CPU: skylake-avx512
-- HOST_DEVICE_ADDRESS_BITS: 64
--
-- ----------- -------------------------------- --------
-- llvm libs libpocl will be linked to (POCL_LLVM_LIBS):
-- /usr/lib64/libLLVM-16.so
-- ----------- -------------------------------- --------
-- clang libs libpocl will be linked to (CLANG_LIBFILES):
-- /usr/lib64/libclang-cpp.so
-- ----------- -------------------------------- --------
-- system libs libpocl will be linked to (LLVM_SYSLIBS):
--
-- ----------- -------------------------------- --------
-- ******* Enabled features:
--
-- DEVELOPER_MODE: OFF
-- ENABLE_CONFORMANCE: OFF
-- ENABLE_IPO: YES
-- ENABLE_ICD: ON
-- ENABLE_TCE: 0
-- ENABLE_TCEMC: 0
-- ENABLE_HSA: OFF
-- ENABLE_ALMAIF_DEVICE: OFF
-- ENABLE_CUDA: OFF
-- ENABLE_CUDNN: OFF
-- ENABLE_HOST_CPU_DEVICES: ON
-- ENABLE_VULKAN: OFF
-- ENABLE_ASAN (address sanitizer): OFF
-- ENABLE_LSAN (leak sanitizer): OFF
-- ENABLE_TSAN (thread sanitizer): OFF
-- ENABLE_UBSAN (UB sanitizer): OFF
-- ENABLE_POCL_BUILDING: ON
-- ENABLE_POCL_FLOAT_CONVERSION: OFF
-- ENABLE_RELOCATION: ON
-- ENABLE_PROXY_DEVICE: OFF
-- ENABLE_PROXY_DEVICE_INTEROP: OFF
-- ENABLE_CL_GET_GL_CONTEXT:
-- ENABLE_OPENGL_INTEROP:
-- ENABLE_EGL_INTEROP:
-- ENABLE_SLEEF: ON
-- ENABLE_SPIR: ON
-- ENABLE_SPIRV: OFF
-- ENABLE_VALGRIND: OFF
-- INSTALL_OPENCL_HEADERS (Install our headers): OFF
-- OCL_DRIVERS (Drivers built): basic pthreads
-- OCL_TARGETS (Targets built): host
-- ENABLE_LLVM: ON
-- POCL_ICD_ABSOLUTE_PATH: OFF
-- POCL_ASSERTS_BUILD: 0
-- TESTS_USE_ICD: 1
-- Available testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;CLBlast;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;shoc;VexCL;ViennaCL;Glow
-- Enabled testsuites:
-- Disabled testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;CLBlast;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;shoc;VexCL;ViennaCL;Glow
-- Testsuites are built from git master: OFF
-- Enable internal doxygen documentation: OFF
-- Kernel caching: ON
-- Kernel library CPU variants: sse2;ssse3;sse41;avx;avx_f16c;avx_fma4;avx2;avx512
-- Kernel library distro build: 1
-- Use pocl custom memory allocator: OFF
-- L1d cacheline size: 64
-- Configuring incomplete, errors occurred!
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (7 by maintainers)
On the release? We aim to branch out and start RC testing 4.0 in week-two.
Thanks for the feedback @kloczek We aim to release a new one after each LLVM release. When that happens boils also down to how busy we are with other work 😃
Nah. Just extra work. A bit more patience and you’ll get a 4.0-rc 😃
Thank you to let me know 👍