Skip to content

Commit d73c3e4

Browse files
committed
update to xyce 7.9
1 parent 40cae25 commit d73c3e4

File tree

6 files changed

+18
-31
lines changed

6 files changed

+18
-31
lines changed

siliconcompiler/toolscripts/_tools.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@
101101
"auto-update": true
102102
},
103103
"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
106108
},
107109
"xdm": {
108110
"git-url": "https://github.com/Xyce/XDM.git",

siliconcompiler/toolscripts/rhel8/install-xyce.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ mkdir -p trilinos
3737
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
3838

3939
# 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)
4643

4744
# Build Trilinos
4845
cd trilinos
@@ -52,7 +49,7 @@ cmake \
5249
-D CMAKE_INSTALL_PREFIX="$PREFIX/trilinos" \
5350
-D AMD_LIBRARY_DIRS="/usr/lib" \
5451
-D TPL_AMD_INCLUDE_DIRS="/usr/include/suitesparse" \
55-
-C "$XYCE_DIR/cmake/trilinos/trilinos-base.cmake" \
52+
-C "../cmake/trilinos/trilinos-base.cmake" \
5653
..
5754
cmake --build . -j$(nproc)
5855
$SUDO_INSTALL make install

siliconcompiler/toolscripts/rhel9/install-xyce.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ mkdir -p trilinos
3737
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
3838

3939
# 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)
4643

4744
# Build Trilinos
4845
cd trilinos
@@ -52,7 +49,7 @@ cmake \
5249
-D CMAKE_INSTALL_PREFIX="$PREFIX/trilinos" \
5350
-D AMD_LIBRARY_DIRS="/usr/lib" \
5451
-D TPL_AMD_INCLUDE_DIRS="/usr/include/suitesparse" \
55-
-C "$XYCE_DIR/cmake/trilinos/trilinos-base.cmake" \
52+
-C "../cmake/trilinos/trilinos-base.cmake" \
5653
..
5754
cmake --build . -j$(nproc)
5855
$SUDO_INSTALL make install

siliconcompiler/toolscripts/ubuntu20/install-xyce.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ mkdir -p trilinos
3939
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
4040

4141
# 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
4743
cd xyce
44+
git checkout $(python3 ${src_path}/_tools.py --tool xyce --field git-commit)
4845

4946
# Build Trilinos
5047
mkdir trilinos-build

siliconcompiler/toolscripts/ubuntu22/install-xyce.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ mkdir -p trilinos
3939
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
4040

4141
# 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
4743
cd xyce
44+
git checkout $(python3 ${src_path}/_tools.py --tool xyce --field git-commit)
4845

4946
# Build Trilinos
5047
mkdir trilinos-build

siliconcompiler/toolscripts/ubuntu24/install-xyce.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ mkdir -p trilinos
3939
tar --strip-components=1 -xf trilinos.tar.gz -C trilinos
4040

4141
# 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
4743
cd xyce
44+
git checkout $(python3 ${src_path}/_tools.py --tool xyce --field git-commit)
4845

4946
# Build Trilinos
5047
mkdir trilinos-build

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy