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

Aleksana 7f75fa3b ad899942

Changed files
+15 -2
pkgs
by-name
ar
armips
top-level
+13
pkgs/development/compilers/armips/default.nix pkgs/by-name/ar/armips/package.nix
···
sha256 = "sha256-L+Uxww/WtvDJn1xZqoqA6Pkzq/98sy1qTxZbv6eEjbA=";
};
+
postPatch = ''
+
substituteInPlace CMakeLists.txt \
+
--replace-fail c++11 c++17
+
'';
+
nativeBuildInputs = [ cmake ];
installPhase = ''
···
cp armips $out/bin
runHook postInstall
+
'';
+
+
doCheck = true;
+
+
checkPhase = ''
+
runHook preCheck
+
./armipstests ..
+
runHook postCheck
'';
meta = with lib; {
+2 -2
pkgs/top-level/all-packages.nix
···
jdk = jdk8;
};
-
armips = callPackage ../development/compilers/armips {
-
stdenv = gcc10Stdenv;
+
armips = callPackage ../by-name/ar/armips/package.nix {
+
stdenv = clangStdenv;
};
ballerina = callPackage ../development/compilers/ballerina {