Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=418958a5fc1730554a3e64fb5cd5dc6a26e35b07

commit 418958a5fc1730554a3e64fb5cd5dc6a26e35b07
Author: crazy <[email protected]>
Date:   Wed Nov 16 17:12:17 2016 +0100

vc-1.3.0-1-x86_64
* Version bump

diff --git a/source/lib-extra/vc/FrugalBuild b/source/lib-extra/vc/FrugalBuild
index 57d1a93..1096da8 100644
--- a/source/lib-extra/vc/FrugalBuild
+++ b/source/lib-extra/vc/FrugalBuild
@@ -3,8 +3,8 @@

pkgname=vc
## max version can be used by krita right now
-pkgver=0.7.5
-pkgrel=3
+pkgver=1.3.0
+pkgrel=1
pkgdesc="C++ types for explicitly data-parallel programming"
url="https://github.com/VcDevel/Vc";
depends=() ## static
@@ -17,8 +17,8 @@ _F_github_tag="yes"
_F_cmake_confopts+=" -DTARGET_ARCHITECTURE='none' -DPACKAGERS_BUILD=true  
-DBUILD_TESTING=OFF"
Finclude cmake github
source+=(do-not-use-auto-for-target-architecture.patch)
-sha1sums=('8cbf4d41a658b114c9339a861d6cf1f564f968bf' \
-          'acc352362a1a1e2dc51a94aeb1eac2c720e4075c')
+sha1sums=('da0abea294c546c9b69e33ea39581035002e0776' \
+          '7567103a6a71cb164cefe489bc8635482bdf9b59')
options+=('static' 'force')

build() {
diff --git a/source/lib-extra/vc/do-not-use-auto-for-target-architecture.patch 
b/source/lib-extra/vc/do-not-use-auto-for-target-architecture.patch
index 303ca09..d7fc1f2 100644
--- a/source/lib-extra/vc/do-not-use-auto-for-target-architecture.patch
+++ b/source/lib-extra/vc/do-not-use-auto-for-target-architecture.patch
@@ -1,12 +1,12 @@
-diff -Naur Vc-0.7.5/cmake/OptimizeForArchitecture.cmake 
Vc-0.7.5-p/cmake/OptimizeForArchitecture.cmake
---- Vc-0.7.5/cmake/OptimizeForArchitecture.cmake       2015-08-26 
15:22:18.000000000 +0200
-+++ Vc-0.7.5-p/cmake/OptimizeForArchitecture.cmake     2016-07-05 
06:21:17.706382803 +0200
-@@ -166,7 +166,7 @@
+diff -Naur Vc-1.3.0/cmake/OptimizeForArchitecture.cmake 
Vc-1.3.0-p/cmake/OptimizeForArchitecture.cmake
+--- Vc-1.3.0/cmake/OptimizeForArchitecture.cmake       2016-10-27 
09:05:02.000000000 +0200
++++ Vc-1.3.0-p/cmake/OptimizeForArchitecture.cmake     2016-11-16 
17:10:17.668601666 +0100
+@@ -178,7 +178,7 @@
endmacro()

macro(OptimizeForArchitecture)
--   set(TARGET_ARCHITECTURE "auto" CACHE STRING "CPU architecture to optimize 
for. Using an incorrect setting here can result in crashes of the resulting 
binary because of invalid instructions used.\nSetting the value to \"auto\" 
will try to optimize for the architecture where cmake is called.\nOther 
supported values are: \"none\", \"generic\", \"core\", \"merom\" (65nm Core2), 
\"penryn\" (45nm Core2), \"nehalem\", \"westmere\", \"sandy-bridge\", 
\"ivy-bridge\", \"haswell\", \"broadwell\", \"atom\", \"k8\", \"k8-sse3\", 
\"barcelona\", \"istanbul\", \"magny-cours\", \"bulldozer\", \"interlagos\", 
\"piledriver\", \"AMD 14h\", \"AMD 16h\".")
-+   set(TARGET_ARCHITECTURE "none" CACHE STRING "CPU architecture to optimize 
for. Using an incorrect setting here can result in crashes of the resulting 
binary because of invalid instructions used.\nSetting the value to \"auto\" 
will try to optimize for the architecture where cmake is called.\nOther 
supported values are: \"none\", \"generic\", \"core\", \"merom\" (65nm Core2), 
\"penryn\" (45nm Core2), \"nehalem\", \"westmere\", \"sandy-bridge\", 
\"ivy-bridge\", \"haswell\", \"broadwell\", \"atom\", \"k8\", \"k8-sse3\", 
\"barcelona\", \"istanbul\", \"magny-cours\", \"bulldozer\", \"interlagos\", 
\"piledriver\", \"AMD 14h\", \"AMD 16h\".")
-    set(_force)
-    if(NOT _last_target_arch STREQUAL "${TARGET_ARCHITECTURE}")
-       message(STATUS "target changed from \"${_last_target_arch}\" to 
\"${TARGET_ARCHITECTURE}\"")
+-   set(TARGET_ARCHITECTURE "auto" CACHE STRING "CPU architecture to optimize 
for. \
++   set(TARGET_ARCHITECTURE "none" CACHE STRING "CPU architecture to optimize 
for. \
+ Using an incorrect setting here can result in crashes of the resulting binary 
because of invalid instructions used. \
+ Setting the value to \"auto\" will try to optimize for the architecture where 
cmake is called. \
+ Other supported values are: \"none\", \"generic\", \"core\", \"merom\" (65nm 
Core2), \
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to