Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

aarch64: ZHF for aarch64 (1/??)

authored by

Samuel Dionne-Riel and committed by
GitHub
3c38cc80 7b2b5b3f

+41 -6
+1
nixos/modules/services/databases/aerospike.nix
··· 43 44 package = mkOption { 45 default = pkgs.aerospike; 46 type = types.package; 47 description = "Which Aerospike derivation to use"; 48 };
··· 43 44 package = mkOption { 45 default = pkgs.aerospike; 46 + defaultText = "pkgs.aerospike"; 47 type = types.package; 48 description = "Which Aerospike derivation to use"; 49 };
+2
pkgs/applications/audio/ams-lv2/default.nix
··· 21 license = licenses.gpl3; 22 maintainers = [ maintainers.goibhniu ]; 23 platforms = platforms.linux; 24 }; 25 }
··· 21 license = licenses.gpl3; 22 maintainers = [ maintainers.goibhniu ]; 23 platforms = platforms.linux; 24 + # Build uses `-msse` and `-mfpmath=sse` 25 + badPlatforms = [ "aarch64-linux" ]; 26 }; 27 }
+2
pkgs/applications/audio/artyFX/default.nix
··· 20 license = licenses.gpl2; 21 maintainers = [ maintainers.magnetophon ]; 22 platforms = platforms.linux; 23 }; 24 }
··· 20 license = licenses.gpl2; 21 maintainers = [ maintainers.magnetophon ]; 22 platforms = platforms.linux; 23 + # Build uses `-msse` and `-mfpmath=sse` 24 + badPlatforms = [ "aarch64-linux" ]; 25 }; 26 }
+2
pkgs/applications/science/logic/aspino/default.nix
··· 44 platforms = platforms.unix; 45 license = licenses.asl20; 46 homepage = http://alviano.net/software/maxino/; 47 }; 48 }
··· 44 platforms = platforms.unix; 45 license = licenses.asl20; 46 homepage = http://alviano.net/software/maxino/; 47 + # See pkgs/applications/science/logic/glucose/default.nix 48 + badPlatforms = [ "aarch64-linux" ]; 49 }; 50 }
+3
pkgs/applications/science/logic/avy/default.nix
··· 46 license = stdenv.lib.licenses.mit; 47 maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 48 platforms = stdenv.lib.platforms.linux; 49 }; 50 }
··· 46 license = stdenv.lib.licenses.mit; 47 maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 48 platforms = stdenv.lib.platforms.linux; 49 + # See pkgs/applications/science/logic/glucose/default.nix 50 + # (The error is different due to glucose-fenv.patch, but the same) 51 + badPlatforms = [ "aarch64-linux" ]; 52 }; 53 }
+2
pkgs/applications/science/logic/glucose/default.nix
··· 23 license = licenses.mit; 24 platforms = platforms.unix; 25 maintainers = with maintainers; [ gebner ]; 26 }; 27 }
··· 23 license = licenses.mit; 24 platforms = platforms.unix; 25 maintainers = with maintainers; [ gebner ]; 26 + # Build uses _FPU_EXTENDED macro 27 + badPlatforms = [ "aarch64-linux" ]; 28 }; 29 }
+1
pkgs/development/compilers/chez/default.nix
··· 83 homepage = https://cisco.github.io/ChezScheme/; 84 license = stdenv.lib.licenses.asl20; 85 platforms = stdenv.lib.platforms.unix; 86 maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 87 }; 88 }
··· 83 homepage = https://cisco.github.io/ChezScheme/; 84 license = stdenv.lib.licenses.asl20; 85 platforms = stdenv.lib.platforms.unix; 86 + badPlatforms = [ "aarch64-linux" ]; 87 maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 88 }; 89 }
+1
pkgs/development/interpreters/angelscript/2.22.nix
··· 38 license = stdenv.lib.licenses.zlib ; 39 maintainers = [stdenv.lib.maintainers.raskin]; 40 platforms = stdenv.lib.platforms.linux; 41 downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 42 homepage="http://www.angelcode.com/angelscript/"; 43 };
··· 38 license = stdenv.lib.licenses.zlib ; 39 maintainers = [stdenv.lib.maintainers.raskin]; 40 platforms = stdenv.lib.platforms.linux; 41 + badPlatforms = [ "aarch64-linux" ]; 42 downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 43 homepage="http://www.angelcode.com/angelscript/"; 44 };
+1 -1
pkgs/development/libraries/aften/default.nix
··· 16 description = "An audio encoder which generates compressed audio streams based on ATSC A/52 specification"; 17 homepage = "http://aften.sourceforge.net/"; 18 license = stdenv.lib.licenses.lgpl2; 19 - platforms = stdenv.lib.platforms.unix; 20 }; 21 }
··· 16 description = "An audio encoder which generates compressed audio streams based on ATSC A/52 specification"; 17 homepage = "http://aften.sourceforge.net/"; 18 license = stdenv.lib.licenses.lgpl2; 19 + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 20 }; 21 }
+2
pkgs/development/libraries/beignet/default.nix
··· 107 license = licenses.lgpl21Plus; 108 maintainers = with maintainers; [ artuuge zimbatm ]; 109 platforms = platforms.linux; 110 }; 111 }
··· 107 license = licenses.lgpl21Plus; 108 maintainers = with maintainers; [ artuuge zimbatm ]; 109 platforms = platforms.linux; 110 + # Requires libdrm_intel 111 + badPlatforms = [ "aarch64-linux" ]; 112 }; 113 }
+2 -1
pkgs/development/libraries/boost/generic.nix
··· 111 description = "Collection of C++ libraries"; 112 license = stdenv.lib.licenses.boost; 113 114 - platforms = (if versionOlder version "1.59" then remove "aarch64-linux" else id) (platforms.unix ++ platforms.windows); 115 maintainers = with maintainers; [ peti wkennington ]; 116 }; 117
··· 111 description = "Collection of C++ libraries"; 112 license = stdenv.lib.licenses.boost; 113 114 + platforms = (platforms.unix ++ platforms.windows); 115 + badPlatforms = stdenv.lib.optional (versionOlder version "1.59") "aarch64-linux"; 116 maintainers = with maintainers; [ peti wkennington ]; 117 }; 118
+2
pkgs/development/libraries/bootil/default.nix
··· 10 license = stdenv.lib.licenses.free; 11 maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ]; 12 platforms = stdenv.lib.platforms.all; 13 }; 14 15 src = fetchFromGitHub {
··· 10 license = stdenv.lib.licenses.free; 11 maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ]; 12 platforms = stdenv.lib.platforms.all; 13 + # Build uses `-msse` and `-mfpmath=sse` 14 + badPlatforms = [ "aarch64-linux" ]; 15 }; 16 17 src = fetchFromGitHub {
+2
pkgs/development/libraries/gsl/gsl-1_16.nix
··· 36 extensive test suite. 37 ''; 38 platforms = stdenv.lib.platforms.unix; 39 }; 40 }
··· 36 extensive test suite. 37 ''; 38 platforms = stdenv.lib.platforms.unix; 39 + # Failing "eigen" tests on aarch64. 40 + badPlatforms = [ "aarch64-linux" ]; 41 }; 42 }
+9 -1
pkgs/development/libraries/openbabel/default.nix
··· 1 - {stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }: 2 3 stdenv.mkDerivation rec { 4 name = "openbabel-${version}"; ··· 8 url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz"; 9 sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r"; 10 }; 11 12 # TODO : perl & python bindings; 13 # TODO : wxGTK: I have no time to compile
··· 1 + {stdenv, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }: 2 3 stdenv.mkDerivation rec { 4 name = "openbabel-${version}"; ··· 8 url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz"; 9 sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r"; 10 }; 11 + 12 + patches = [ 13 + # ARM / AArch64 fixes. 14 + (fetchpatch { 15 + url = https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch; 16 + sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g"; 17 + }) 18 + ]; 19 20 # TODO : perl & python bindings; 21 # TODO : wxGTK: I have no time to compile
+2
pkgs/misc/emulators/blastem/default.nix
··· 44 maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; 45 license = stdenv.lib.licenses.gpl3; 46 platforms = stdenv.lib.platforms.linux; 47 }; 48 }
··· 44 maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; 45 license = stdenv.lib.licenses.gpl3; 46 platforms = stdenv.lib.platforms.linux; 47 + # Makefile:140: *** aarch64 is not a supported architecture. Stop. 48 + badPlatforms = [ "aarch64-linux" ]; 49 }; 50 }
+1 -2
pkgs/servers/nosql/aerospike/default.nix
··· 30 description = "Flash-optimized, in-memory, NoSQL database"; 31 homepage = http://aerospike.com/; 32 license = licenses.agpl3; 33 - #platforms = [ "x86_64-linux" ]; # breaks eval of nixos manual for aarch64 34 - platforms = platforms.linux; 35 maintainers = with maintainers; [ kalbasit ]; 36 }; 37 }
··· 30 description = "Flash-optimized, in-memory, NoSQL database"; 31 homepage = http://aerospike.com/; 32 license = licenses.agpl3; 33 + platforms = [ "x86_64-linux" ]; 34 maintainers = with maintainers; [ kalbasit ]; 35 }; 36 }
+2
pkgs/tools/networking/bud/default.nix
··· 29 description = "A TLS terminating proxy"; 30 license = licenses.mit; 31 platforms = platforms.linux; 32 maintainers = with maintainers; [ cstrahan ]; 33 }; 34 }
··· 29 description = "A TLS terminating proxy"; 30 license = licenses.mit; 31 platforms = platforms.linux; 32 + # Does not build on aarch64-linux. 33 + badPlatforms = [ "aarch64-linux" ]; 34 maintainers = with maintainers; [ cstrahan ]; 35 }; 36 }
+2
pkgs/tools/package-management/cde/default.nix
··· 33 license = licenses.gpl3; 34 maintainers = [ maintainers.rlupton20 ]; 35 platforms = platforms.linux; 36 }; 37 }
··· 33 license = licenses.gpl3; 34 maintainers = [ maintainers.rlupton20 ]; 35 platforms = platforms.linux; 36 + # error: architecture aarch64 is not supported by strace 37 + badPlatforms = [ "aarch64-linux" ]; 38 }; 39 }
+2 -1
pkgs/tools/security/b2sum/default.nix
··· 23 homepage = "https://blake2.net"; 24 license = with licenses; [ asl20 cc0 openssl ]; 25 maintainers = with maintainers; [ kirelagin ]; 26 - platforms = platforms.all; 27 }; 28 }
··· 23 homepage = "https://blake2.net"; 24 license = with licenses; [ asl20 cc0 openssl ]; 25 maintainers = with maintainers; [ kirelagin ]; 26 + # "This code requires at least SSE2." 27 + platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin; 28 }; 29 }