tce-load -i compiletc cmake llvm-dev clang hwloc-dev libtool-dev ocl-icd-dev lttng-ust-dev cd pocl-1.3 mkdir build cd build sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DPOCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors [-DLLC_HOST_CPU=x86-64] -DCMAKE_VERBOSE_MAKEFILE=TRUE -Wno-dev ../ [fno-exceptions fails] make [5m 38.20s] sudo make install llc -mcpu=help x86-64 - Select the x86-64 processor (haswell chosen if blank) -- *********************** SUMMARY *************************** -- -- ******* Directories: -- -- POCL_INSTALL_CMAKE_CONFIG_DIR: /usr/local/lib/pocl -- POCL_INSTALL_ICD_VENDORDIR: /etc/OpenCL/vendors -- POCL_INSTALL_OPENCL_HEADER_DIR: /usr/local/include/CL -- POCL_INSTALL_PKGCONFIG_DIR: /usr/local/lib/pkgconfig -- POCL_INSTALL_PRIVATE_DATADIR: /usr/local/share/pocl -- POCL_INSTALL_PRIVATE_HEADER_DIR: /usr/local/share/pocl/include -- POCL_INSTALL_PRIVATE_LIBDIR: /usr/local/lib/pocl -- POCL_INSTALL_PUBLIC_BINDIR: /usr/local/bin -- POCL_INSTALL_PUBLIC_HEADER_DIR: /usr/local/include -- POCL_INSTALL_PUBLIC_LIBDIR: /usr/local/lib -- -- -- ******* LLVM Programs: -- -- LLVM_CONFIG: /usr/local/bin/llvm-config -- LLVM_OPT: /usr/local/bin/opt -- LLVM_LLC: /usr/local/bin/llc -- LLVM_AS: /usr/local/bin/llvm-as -- LLVM_LINK: /usr/local/bin/llvm-link -- LLVM_LLI: /usr/local/bin/lli -- WITH_LLVM_CONFIG (User preferred llvm-config): -- -- ******* Various Flags: -- -- CL_DISABLE_HALF: 1 -- HAVE_CLOCK_GETTIME: 1 -- HAVE_GLEW: -- HAVE_LTTNG_UST: 1 -- HOST_AS_FLAGS: -- HOST_CLANG_FLAGS: --target=x86_64-unknown-linux-gnu -D_CL_DISABLE_HALF -- HOST_LD_FLAGS: -shared -lm --rtlib=compiler-rt -- HOST_LLC_FLAGS: -relocation-model=pic -mtriple=x86_64-unknown-linux-gnu -- -- LIB_API_VERSION: 2 -- LIB_BUILD_VERSION: 2.3.0 -- ICD_LD_FLAGS: -Wl,-Bsymbolic -- EXTRA_KERNEL_FLAGS: -- EXTRA_KERNEL_CXX_FLAGS: -- EXTRA_KERNEL_CL_FLAGS: -- EXTRA_KERNEL_C_FLAGS: -- final KERNEL_CXX_FLAGS: -xc++ -std=c++11 -fno-stack-protector -fPIC -- 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_RTLIB: OFF -- CLANG_HAS_RTLIB_128: ON -- LINK_WITH_CLANG: ON -- CLANG_MARCH_FLAG: -march= -- CLANG_TARGET_OPTION: --target= -- LLVM_VERSION: 8.0 -- LLVM_LIB_IS_SHARED: shared -- LLVM_HAS_RTTI: YES -- LLVM_LIB_MODE: --link-shared -- LLVM_ASSERTS_BUILD: ON -- LLVM_BUILD_MODE: Release -- LLVM_CFLAGS: -I/usr/local/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CXXFLAGS: -I/usr/local/include -std=c++11 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CPPFLAGS: -I/usr/local/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LDFLAGS: -L/usr/local/lib -Wl,--exclude-libs,libclangCodeGen -Wl,--exclude-libs,libclangFrontendTool -Wl,--exclude-libs,libclangFrontend -Wl,--exclude-libs,libclangDriver -Wl,--exclude-libs,libclangSerialization -Wl,--exclude-libs,libclangParse -Wl,--exclude-libs,libclangSema -Wl,--exclude-libs,libclangRewrite -Wl,--exclude-libs,libclangRewriteFrontend -Wl,--exclude-libs,libclangStaticAnalyzerFrontend -Wl,--exclude-libs,libclangStaticAnalyzerCheckers -Wl,--exclude-libs,libclangStaticAnalyzerCore -Wl,--exclude-libs,libclangAnalysis -Wl,--exclude-libs,libclangEdit -Wl,--exclude-libs,libclangAST -Wl,--exclude-libs,libclangLex -Wl,--exclude-libs,libclangBasic -- LLVM_LIBDIR: /usr/local/lib -- LLVM_INCLUDEDIR: /usr/local/include -- LLVM_SRC_ROOT: /usr/src/llvm-8.0.0.src -- LLVM_OBJ_ROOT: /usr/local -- LLVM_INCLUDE_DIRS: -- LLVM_ALL_TARGETS: AMDGPU BPF X86 -- LLVM_HOST_TARGET: x86_64-unknown-linux-gnu -- LLC_TRIPLE: x86_64-unknown-linux-gnu -- LLC_HOST_CPU: x86-64 -- -- MAX_EXTENDED_ALIGNMENT: 128 -- OCL_KERNEL_TARGET: x86_64-unknown-linux-gnu -- OCL_KERNEL_TARGET_CPU: x86-64 -- HOST_DEVICE_ADDRESS_BITS: 64 -- -- ----------- -------------------------------- -------- -- llvm libs libpocl will be linked to (POCL_LLVM_LIBS): -- /usr/local/lib/libLLVM.so -- ----------- -------------------------------- -------- -- clang libs libpocl will be linked to (CLANG_LIBFILES): -- /usr/local/lib/libclangCodeGen.a;/usr/local/lib/libclangFrontendTool.a;/usr/local/lib/libclangFrontend.a;/usr/local/lib/libclangDriver.a;/usr/local/lib/libclangSerialization.a;/usr/local/lib/libclangParse.a;/usr/local/lib/libclangSema.a;/usr/local/lib/libclangRewrite.a;/usr/local/lib/libclangRewriteFrontend.a;/usr/local/lib/libclangStaticAnalyzerFrontend.a;/usr/local/lib/libclangStaticAnalyzerCheckers.a;/usr/local/lib/libclangStaticAnalyzerCore.a;/usr/local/lib/libclangAnalysis.a;/usr/local/lib/libclangEdit.a;/usr/local/lib/libclangAST.a;/usr/local/lib/libclangLex.a;/usr/local/lib/libclangBasic.a -- ----------- -------------------------------- -------- -- system libs libpocl will be linked to (LLVM_SYSLIBS): -- -- ----------- -------------------------------- -------- -- ******* Enabled features: -- -- DEVELOPER_MODE: OFF -- ENABLE_CONFORMANCE: ON -- ENABLE_ICD: 1 -- ENABLE_TCE: 0 -- ENABLE_TCEMC: 0 -- ENABLE_HSA: OFF -- ENABLE_CUDA: OFF -- ENABLE_ASAN (address sanitizer): OFF -- ENABLE_LSAN (leak sanitizer): OFF -- ENABLE_TSAN (thread sanitizer): OFF -- ENABLE_UBSAN (UB sanitizer): OFF -- ENABLE_POCL_FLOAT_CONVERSION: OFF -- ENABLE_SLEEF: ON -- ENABLE_SPIR: ON -- ENABLE_SPIRV: OFF -- ENABLE_POCL_BUILDING: ON -- INSTALL_OPENCL_HEADERS (Install our headers): 0 -- OCL_DRIVERS (Drivers built): basic pthreads -- OCL_TARGETS (Targets built): host -- OCS_AVAILABLE: ON -- POCL_ICD_ABSOLUTE_PATH: ON -- POCL_ASSERTS_BUILD: 1 -- SINGLE_LLVM_LIB: ON -- 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;VexCL;ViennaCL -- 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;VexCL;ViennaCL -- Testsuites are built from git master: OFF -- Kernel caching: ON -- Kernel library CPU variants: native -- Kernel library distro build: 0 -- Use fake address space IDs: 0 -- Use pocl custom memory allocator: OFF -- L1d cacheline size: 64 -- Configuring done