Skip to content

Commit a7a00d7

Browse files
committed
builders: bump NEMU version
fixed #8
1 parent b142c7c commit a7a00d7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

builders/cptBuilder/nemu/default.nix

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@ stdenv.mkDerivation {
3434
src = fetchFromGitHub {
3535
owner = "OpenXiangShan";
3636
repo = "NEMU";
37-
# latest checkpoint branch
38-
rev = "cf24515c85f5be898687959ab299ea276dbd7c56";
39-
hash = "sha256-m6hNgEXnhTmwwFOCuZ7gBRnrCNbfdExGIJsAfbhnwa0=";
37+
rev = "3b2a4b4acf410efabcb024f43bad438346e0da12";
38+
hash = "sha256-3resMrcTgFJapKzc0b/9HNVaXWqd78/0Zd90SI2/NIY=";
4039
};
4140
buildInputs = [
4241
git
4342
zlib
4443
which
45-
# ccache
4644
zstd
4745
readline
4846
ncurses
@@ -64,7 +62,7 @@ stdenv.mkDerivation {
6462
6563
# Build NEMU
6664
export NEMU_HOME=$PWD
67-
65+
6866
# Disable ccache
6967
export USE_CCACHE=
7068
export CCACHE_DISABLE=1
@@ -90,7 +88,7 @@ stdenv.mkDerivation {
9088
mkdir -p resource/softfloat/repo/build/Linux-x86_64-GCC
9189
chmod -R u+w resource/softfloat/repo/build
9290
93-
make -j 100
91+
make -j $NIX_BUILD_CORES
9492
9593
echo "Build phase completed"
9694
'';

0 commit comments

Comments
 (0)