armips: build with Clang instead of GCC 10, run tests (#412719)

authored by Aleksana and committed by GitHub 7f75fa3b ad899942

+15 -2
+13
pkgs/development/compilers/armips/default.nix pkgs/by-name/ar/armips/package.nix
··· 16 16 sha256 = "sha256-L+Uxww/WtvDJn1xZqoqA6Pkzq/98sy1qTxZbv6eEjbA="; 17 17 }; 18 18 19 + postPatch = '' 20 + substituteInPlace CMakeLists.txt \ 21 + --replace-fail c++11 c++17 22 + ''; 23 + 19 24 nativeBuildInputs = [ cmake ]; 20 25 21 26 installPhase = '' ··· 25 30 cp armips $out/bin 26 31 27 32 runHook postInstall 33 + ''; 34 + 35 + doCheck = true; 36 + 37 + checkPhase = '' 38 + runHook preCheck 39 + ./armipstests .. 40 + runHook postCheck 28 41 ''; 29 42 30 43 meta = with lib; {
+2 -2
pkgs/top-level/all-packages.nix
··· 4845 4845 jdk = jdk8; 4846 4846 }; 4847 4847 4848 - armips = callPackage ../development/compilers/armips { 4849 - stdenv = gcc10Stdenv; 4848 + armips = callPackage ../by-name/ar/armips/package.nix { 4849 + stdenv = clangStdenv; 4850 4850 }; 4851 4851 4852 4852 ballerina = callPackage ../development/compilers/ballerina {