vc{_0_7,}: disable dynamic architecture detection

This commit is contained in:
Nikolay Amiantov 2016-06-01 03:38:05 +03:00
parent 8b085a9c19
commit 26a84169ff
2 changed files with 12 additions and 2 deletions

View File

@ -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 ];

View File

@ -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 ];