From 17aaac5cf0f087e3cba02f73a4f6f4c929381e4a0200019d4ce780d3f8a67296 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Thu, 2 Aug 2018 17:22:53 +0000 Subject: [PATCH] Accepting request 626138 from home:bmwiedemann:branches:science Disable compile time CPU-detection instead always asume core2 (boo#1100677) OBS-URL: https://build.opensuse.org/request/show/626138 OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=39 --- pocl.changes | 6 ++++++ pocl.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pocl.changes b/pocl.changes index 9f7f7d2..76a95e3 100644 --- a/pocl.changes +++ b/pocl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 30 04:53:06 UTC 2018 - bwiedemann@suse.com + +- Disable compile time CPU-detection + instead always asume core2 (boo#1100677) + ------------------------------------------------------------------- Tue May 15 20:34:02 UTC 2018 - mimi.vx@gmail.com diff --git a/pocl.spec b/pocl.spec index c51b526..ca14f3a 100644 --- a/pocl.spec +++ b/pocl.spec @@ -105,7 +105,7 @@ This subpackage provides the development files needed for pocl. -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ %ifarch %{ix86} x86_64 - -DKERNELLIB_HOST_CPU_VARIANTS=distro \ + -DLLC_HOST_CPU=core2 \ %endif -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \