armips: build with Clang instead of GCC 10, run tests

This commit is contained in:
Nadia Holmquist Pedersen
2025-05-31 18:46:14 +02:00
parent c670990e32
commit d0c39b61cd
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-L+Uxww/WtvDJn1xZqoqA6Pkzq/98sy1qTxZbv6eEjbA=";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail c++11 c++17
'';
nativeBuildInputs = [ cmake ];
installPhase = ''
@@ -27,6 +32,14 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
doCheck = true;
checkPhase = ''
runHook preCheck
./armipstests ..
runHook postCheck
'';
meta = with lib; {
homepage = "https://github.com/Kingcom/armips";
description = "Assembler for various ARM and MIPS platforms";
+1 -1
View File
@@ -4937,7 +4937,7 @@ with pkgs;
};
armips = callPackage ../by-name/ar/armips/package.nix {
stdenv = gcc10Stdenv;
stdenv = clangStdenv;
};
ballerina = callPackage ../development/compilers/ballerina {