diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-06-01 03:38:05 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-06-01 04:21:19 +0300 |
commit | 26a84169ff90fd32e7ad682175ea213daa67f2f9 (patch) | |
tree | c4a79e78c6647cded7e624ffd930a84a1dd738a1 /pkgs/development/libraries/vc | |
parent | 8b085a9c193fa624a931fe13e8b21a021dc50a5c (diff) |
vc{_0_7,}: disable dynamic architecture detection
Diffstat (limited to 'pkgs/development/libraries/vc')
-rw-r--r-- | pkgs/development/libraries/vc/0.7.nix | 7 | ||||
-rw-r--r-- | pkgs/development/libraries/vc/default.nix | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/libraries/vc/0.7.nix b/pkgs/development/libraries/vc/0.7.nix index 7f774e2eb92a2..d6dd61db83c07 100644 --- a/pkgs/development/libraries/vc/0.7.nix +++ b/pkgs/development/libraries/vc/0.7.nix @@ -15,9 +15,14 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + postPatch = '' + sed -i '/OptimizeForArchitecture()/d' cmake/VcMacros.cmake + sed -i '/AutodetectHostArchitecture()/d' print_target_architecture.cmake + ''; + meta = with stdenv.lib; { description = "Library for multiprecision complex arithmetic with exact rounding"; - homepage = https://github.com/VcDevel/Vc; + homepage = "https://github.com/VcDevel/Vc"; license = licenses.bsd3; platforms = platforms.all; maintainers = with maintainers; [ abbradar ]; diff --git a/pkgs/development/libraries/vc/default.nix b/pkgs/development/libraries/vc/default.nix index e61c3a47ff12b..aff0795daec01 100644 --- a/pkgs/development/libraries/vc/default.nix +++ b/pkgs/development/libraries/vc/default.nix @@ -15,9 +15,14 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + postPatch = '' + sed -i '/OptimizeForArchitecture()/d' cmake/VcMacros.cmake + sed -i '/AutodetectHostArchitecture()/d' print_target_architecture.cmake + ''; + meta = with stdenv.lib; { description = "Library for multiprecision complex arithmetic with exact rounding"; - homepage = https://github.com/VcDevel/Vc; + homepage = "https://github.com/VcDevel/Vc"; license = licenses.bsd3; platforms = [ "x86_64-linux" "x86_64-darwin" ]; maintainers = with maintainers; [ abbradar ]; |