Hello community, here is the log from the commit of package pocl for openSUSE:Factory checked in at 2017-10-27 14:01:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pocl (Old) and /work/SRC/openSUSE:Factory/.pocl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pocl" Fri Oct 27 14:01:21 2017 rev:11 rq:536905 version:0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/pocl/pocl.changes 2017-10-21 20:22:28.997012655 +0200 +++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes 2017-10-27 14:01:26.927940402 +0200 @@ -1,0 +2,7 @@ +Thu Oct 26 14:13:18 UTC 2017 - [email protected] + +- Simplify spec file a bit +- Enable CUDA backend +- Enable all available cpu specific kernels for intel platform + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pocl.spec ++++++ --- /var/tmp/diff_new_pack.ZoJn9f/_old 2017-10-27 14:01:29.499820175 +0200 +++ /var/tmp/diff_new_pack.ZoJn9f/_new 2017-10-27 14:01:29.503819989 +0200 @@ -31,12 +31,13 @@ Source0: http://portablecl.org/downloads/%{name}-%{version}.tar.gz Source99: pocl-rpmlintrc Patch0: pocl-disable-tests.diff -BuildRequires: clang4-devel -BuildRequires: clang4-devel-static -BuildRequires: cmake >= 2.8.12 +BuildRequires: clang +BuildRequires: clang-devel +BuildRequires: clang-devel-static +BuildRequires: cmake +BuildRequires: libboost_headers-devel BuildRequires: libtool BuildRequires: libtool-ltdl-devel -BuildRequires: llvm4-devel BuildRequires: ncurses-devel BuildRequires: ninja BuildRequires: opencl-headers @@ -46,14 +47,13 @@ BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(hwloc) Requires: clang4 +Requires: gcc Requires: libstdc++-devel Requires: libut2 # Only armv7l is supported # PPC support is currently broken, due to path problems # s390(x) and aarch64 also not supported, so use ExclusiveArch ExclusiveArch: %{ix86} x86_64 armv7l armv7hl -BuildRequires: libboost_headers-devel -Requires: gcc %description Portable Computing Language (pocl) is an implementation of the OpenCL standard @@ -88,24 +88,26 @@ %build %define __builder ninja -%cmake ..\ +%cmake \ + -DENABLE_CUDA=1 \ + -DENABLE_ICD=1 \ + -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ +%ifarch %{ix86} x86_64 + -DKERNELLIB_HOST_CPU_VARIANTS=distro \ +%endif + -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config %make_jobs -# docs -#cd doc/sphinx -#make html - %install %cmake_install # FIXME - should be handled upstream mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir} -mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir} sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' %{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd # Unbundle vecmath @@ -113,10 +115,6 @@ #ln -vs %{_includedir}/vecmath %{buildroot}/%{_libdir}/pocl/vecmath # <visit0r> but you need to run the .py to generate the files under the pocl dir -%check -#cd build -#ctest %{?_smp_mflags} ||: - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig
