tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
systemc: build with cmake, expand platforms to unix
Nick Cao
2 years ago
d44aa508
54dce4f0
+10
-5
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
electronics
systemc
default.nix
+10
-5
pkgs/applications/science/electronics/systemc/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2
3
stdenv.mkDerivation rec {
4
pname = "systemc";
···
11
sha256 = "0sj8wlkp68cjhmkd9c9lvm3lk3sckczpz7w9vby64inc1f9fnf0b";
12
};
13
14
-
enableParallelBuilding = true;
15
-
nativeBuildInputs = [ autoreconfHook ];
0
0
0
0
0
16
17
-
configureFlags = [ "--with-unix-layout" ];
18
19
meta = with lib; {
20
description = "The language for System-level design, modeling and verification";
21
homepage = "https://systemc.org/";
22
license = licenses.asl20;
23
-
platforms = platforms.linux;
24
maintainers = with maintainers; [ victormignot amiloradovsky ];
25
};
26
}
···
1
+
{ lib, stdenv, fetchFromGitHub, cmake }:
2
3
stdenv.mkDerivation rec {
4
pname = "systemc";
···
11
sha256 = "0sj8wlkp68cjhmkd9c9lvm3lk3sckczpz7w9vby64inc1f9fnf0b";
12
};
13
14
+
nativeBuildInputs = [ cmake ];
15
+
16
+
cmakeFlags = [
17
+
# Undefined reference to the sc_core::sc_api_version_2_3_4_XXX
18
+
# https://github.com/accellera-official/systemc/issues/21
19
+
"-DCMAKE_CXX_STANDARD=17"
20
+
];
21
22
+
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
23
24
meta = with lib; {
25
description = "The language for System-level design, modeling and verification";
26
homepage = "https://systemc.org/";
27
license = licenses.asl20;
28
+
platforms = platforms.unix;
29
maintainers = with maintainers; [ victormignot amiloradovsky ];
30
};
31
}