Merge pull request #51813 from samueldr/aarch64/disable-non-arm-builds-part-1

aarch64: ZHF for aarch64 (1/??)
This commit is contained in:
Samuel Dionne-Riel 2018-12-20 21:06:52 -05:00 committed by GitHub
commit 3c38cc8058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 41 additions and 6 deletions

View File

@ -43,6 +43,7 @@ in
package = mkOption {
default = pkgs.aerospike;
defaultText = "pkgs.aerospike";
type = types.package;
description = "Which Aerospike derivation to use";
};

View File

@ -21,5 +21,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
# Build uses `-msse` and `-mfpmath=sse`
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -20,5 +20,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
# Build uses `-msse` and `-mfpmath=sse`
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -44,5 +44,7 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
license = licenses.asl20;
homepage = http://alviano.net/software/maxino/;
# See pkgs/applications/science/logic/glucose/default.nix
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -46,5 +46,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
platforms = stdenv.lib.platforms.linux;
# See pkgs/applications/science/logic/glucose/default.nix
# (The error is different due to glucose-fenv.patch, but the same)
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -23,5 +23,7 @@ stdenv.mkDerivation rec {
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ gebner ];
# Build uses _FPU_EXTENDED macro
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -83,6 +83,7 @@ stdenv.mkDerivation rec {
homepage = https://cisco.github.io/ChezScheme/;
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
badPlatforms = [ "aarch64-linux" ];
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
};
}

View File

@ -38,6 +38,7 @@ stdenv.mkDerivation {
license = stdenv.lib.licenses.zlib ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
badPlatforms = [ "aarch64-linux" ];
downloadPage = "http://www.angelcode.com/angelscript/downloads.html";
homepage="http://www.angelcode.com/angelscript/";
};

View File

@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
description = "An audio encoder which generates compressed audio streams based on ATSC A/52 specification";
homepage = "http://aften.sourceforge.net/";
license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.unix;
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
};
}

View File

@ -107,5 +107,7 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ artuuge zimbatm ];
platforms = platforms.linux;
# Requires libdrm_intel
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -111,7 +111,8 @@ stdenv.mkDerivation {
description = "Collection of C++ libraries";
license = stdenv.lib.licenses.boost;
platforms = (if versionOlder version "1.59" then remove "aarch64-linux" else id) (platforms.unix ++ platforms.windows);
platforms = (platforms.unix ++ platforms.windows);
badPlatforms = stdenv.lib.optional (versionOlder version "1.59") "aarch64-linux";
maintainers = with maintainers; [ peti wkennington ];
};

View File

@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.free;
maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ];
platforms = stdenv.lib.platforms.all;
# Build uses `-msse` and `-mfpmath=sse`
badPlatforms = [ "aarch64-linux" ];
};
src = fetchFromGitHub {

View File

@ -36,5 +36,7 @@ stdenv.mkDerivation rec {
extensive test suite.
'';
platforms = stdenv.lib.platforms.unix;
# Failing "eigen" tests on aarch64.
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:
{stdenv, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:
stdenv.mkDerivation rec {
name = "openbabel-${version}";
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
};
patches = [
# ARM / AArch64 fixes.
(fetchpatch {
url = https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch;
sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g";
})
];
# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps

View File

@ -44,5 +44,7 @@ stdenv.mkDerivation rec {
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
# Makefile:140: *** aarch64 is not a supported architecture. Stop.
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -30,8 +30,7 @@ stdenv.mkDerivation rec {
description = "Flash-optimized, in-memory, NoSQL database";
homepage = http://aerospike.com/;
license = licenses.agpl3;
#platforms = [ "x86_64-linux" ]; # breaks eval of nixos manual for aarch64
platforms = platforms.linux;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ kalbasit ];
};
}

View File

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
description = "A TLS terminating proxy";
license = licenses.mit;
platforms = platforms.linux;
# Does not build on aarch64-linux.
badPlatforms = [ "aarch64-linux" ];
maintainers = with maintainers; [ cstrahan ];
};
}

View File

@ -33,5 +33,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3;
maintainers = [ maintainers.rlupton20 ];
platforms = platforms.linux;
# error: architecture aarch64 is not supported by strace
badPlatforms = [ "aarch64-linux" ];
};
}

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
homepage = "https://blake2.net";
license = with licenses; [ asl20 cc0 openssl ];
maintainers = with maintainers; [ kirelagin ];
platforms = platforms.all;
# "This code requires at least SSE2."
platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin;
};
}