File tree 6 files changed +18
-31
lines changed
siliconcompiler/toolscripts 6 files changed +18
-31
lines changed Original file line number Diff line number Diff line change 101
101
"auto-update" : true
102
102
},
103
103
"xyce" : {
104
- "version" : " 7.8" ,
105
- "auto-update" : false
104
+ "git-url" : " https://github.com/Xyce/Xyce.git" ,
105
+ "git-commit" : " Release-7.9.0" ,
106
+ "version-prefix" : " Release-" ,
107
+ "auto-update" : true
106
108
},
107
109
"xdm" : {
108
110
"git-url" : " https://github.com/Xyce/XDM.git" ,
Original file line number Diff line number Diff line change @@ -37,12 +37,9 @@ mkdir -p trilinos
37
37
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
38
38
39
39
# Download Xyce.
40
- xyce_version=$( python3 ${src_path} /_tools.py --tool xyce --field version)
41
- wget https://xyce.sandia.gov/files/xyce/Xyce-${xyce_version} .tar.gz --no-verbose -O xyce.tar.gz
42
- mkdir -p xyce
43
- tar --strip-components=1 -xf xyce.tar.gz -C xyce
44
- rm xyce.tar.gz
45
- XYCE_DIR=$( realpath xyce)
40
+ git clone $( python3 ${src_path} /_tools.py --tool xyce --field git-url) xyce
41
+ cd xyce
42
+ git checkout $( python3 ${src_path} /_tools.py --tool xyce --field git-commit)
46
43
47
44
# Build Trilinos
48
45
cd trilinos
@@ -52,7 +49,7 @@ cmake \
52
49
-D CMAKE_INSTALL_PREFIX=" $PREFIX /trilinos" \
53
50
-D AMD_LIBRARY_DIRS=" /usr/lib" \
54
51
-D TPL_AMD_INCLUDE_DIRS=" /usr/include/suitesparse" \
55
- -C " $XYCE_DIR /cmake/trilinos/trilinos-base.cmake" \
52
+ -C " .. /cmake/trilinos/trilinos-base.cmake" \
56
53
..
57
54
cmake --build . -j$( nproc)
58
55
$SUDO_INSTALL make install
Original file line number Diff line number Diff line change @@ -37,12 +37,9 @@ mkdir -p trilinos
37
37
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
38
38
39
39
# Download Xyce.
40
- xyce_version=$( python3 ${src_path} /_tools.py --tool xyce --field version)
41
- wget https://xyce.sandia.gov/files/xyce/Xyce-${xyce_version} .tar.gz --no-verbose -O xyce.tar.gz
42
- mkdir -p xyce
43
- tar --strip-components=1 -xf xyce.tar.gz -C xyce
44
- rm xyce.tar.gz
45
- XYCE_DIR=$( realpath xyce)
40
+ git clone $( python3 ${src_path} /_tools.py --tool xyce --field git-url) xyce
41
+ cd xyce
42
+ git checkout $( python3 ${src_path} /_tools.py --tool xyce --field git-commit)
46
43
47
44
# Build Trilinos
48
45
cd trilinos
@@ -52,7 +49,7 @@ cmake \
52
49
-D CMAKE_INSTALL_PREFIX=" $PREFIX /trilinos" \
53
50
-D AMD_LIBRARY_DIRS=" /usr/lib" \
54
51
-D TPL_AMD_INCLUDE_DIRS=" /usr/include/suitesparse" \
55
- -C " $XYCE_DIR /cmake/trilinos/trilinos-base.cmake" \
52
+ -C " .. /cmake/trilinos/trilinos-base.cmake" \
56
53
..
57
54
cmake --build . -j$( nproc)
58
55
$SUDO_INSTALL make install
Original file line number Diff line number Diff line change @@ -39,12 +39,9 @@ mkdir -p trilinos
39
39
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
40
40
41
41
# Download Xyce.
42
- xyce_version=$( python3 ${src_path} /_tools.py --tool xyce --field version)
43
- wget https://xyce.sandia.gov/files/xyce/Xyce-${xyce_version} .tar.gz --no-verbose -O xyce.tar.gz
44
- mkdir -p xyce
45
- tar --strip-components=1 -xf xyce.tar.gz -C xyce
46
-
42
+ git clone $( python3 ${src_path} /_tools.py --tool xyce --field git-url) xyce
47
43
cd xyce
44
+ git checkout $( python3 ${src_path} /_tools.py --tool xyce --field git-commit)
48
45
49
46
# Build Trilinos
50
47
mkdir trilinos-build
Original file line number Diff line number Diff line change @@ -39,12 +39,9 @@ mkdir -p trilinos
39
39
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
40
40
41
41
# Download Xyce.
42
- xyce_version=$( python3 ${src_path} /_tools.py --tool xyce --field version)
43
- wget https://xyce.sandia.gov/files/xyce/Xyce-${xyce_version} .tar.gz --no-verbose -O xyce.tar.gz
44
- mkdir -p xyce
45
- tar --strip-components=1 -xf xyce.tar.gz -C xyce
46
-
42
+ git clone $( python3 ${src_path} /_tools.py --tool xyce --field git-url) xyce
47
43
cd xyce
44
+ git checkout $( python3 ${src_path} /_tools.py --tool xyce --field git-commit)
48
45
49
46
# Build Trilinos
50
47
mkdir trilinos-build
Original file line number Diff line number Diff line change @@ -39,12 +39,9 @@ mkdir -p trilinos
39
39
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
40
40
41
41
# Download Xyce.
42
- xyce_version=$( python3 ${src_path} /_tools.py --tool xyce --field version)
43
- wget https://xyce.sandia.gov/files/xyce/Xyce-${xyce_version} .tar.gz --no-verbose -O xyce.tar.gz
44
- mkdir -p xyce
45
- tar --strip-components=1 -xf xyce.tar.gz -C xyce
46
-
42
+ git clone $( python3 ${src_path} /_tools.py --tool xyce --field git-url) xyce
47
43
cd xyce
44
+ git checkout $( python3 ${src_path} /_tools.py --tool xyce --field git-commit)
48
45
49
46
# Build Trilinos
50
47
mkdir trilinos-build
You can’t perform that action at this time.
0 commit comments