Merge pull request #208397 from Munksgaard/ispc-platforms

ispc: Add aarch64-linux and aarch64-darwin platforms

authored by markuskowa and committed by GitHub e00766c1 0aad1c51

+4 -3
+4 -3
pkgs/development/compilers/ispc/default.nix
··· 2 2 , cmake, which, m4, python3, bison, flex, llvmPackages, ncurses 3 3 4 4 # the default test target is sse4, but that is not supported by all Hydra agents 5 - , testedTargets ? [ "sse2-i32x4" ] 5 + , testedTargets ? if stdenv.isAarch64 || stdenv.isAarch32 then [ "neon-i32x4" ] else [ "sse2-i32x4" ] 6 6 }: 7 7 8 8 stdenv.mkDerivation rec { ··· 58 58 "-DCLANGPP_EXECUTABLE=${llvmPackages.clang}/bin/clang++" 59 59 "-DISPC_INCLUDE_EXAMPLES=OFF" 60 60 "-DISPC_INCLUDE_UTILS=OFF" 61 - "-DARM_ENABLED=FALSE" 61 + ("-DARM_ENABLED=" + (if stdenv.isAarch64 || stdenv.isAarch32 then "TRUE" else "FALSE")) 62 + ("-DX86_ENABLED=" + (if stdenv.isx86_64 || stdenv.isx86_32 then "TRUE" else "FALSE")) 62 63 ]; 63 64 64 65 meta = with lib; { 65 66 homepage = "https://ispc.github.io/"; 66 67 description = "Intel 'Single Program, Multiple Data' Compiler, a vectorised language"; 67 68 license = licenses.bsd3; 68 - platforms = [ "x86_64-linux" "x86_64-darwin" ]; # TODO: buildable on more platforms? 69 + platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; # TODO: buildable on more platforms? 69 70 maintainers = with maintainers; [ aristid thoughtpolice athas ]; 70 71 }; 71 72 }