ext,util-docker: updated SST to v.14.0.0 (#1575)

This change updates SST from v.13.0.0 to v.14.0.0. It also adds an
updated docker file to test the new version.
This commit is contained in:
Kaustav Goswami
2024-09-21 06:18:12 -07:00
committed by GitHub
parent 473a37be04
commit 51b5279671
5 changed files with 17 additions and 38 deletions

View File

@@ -2,7 +2,7 @@
The links to download SST source code are available at
<http://sst-simulator.org/SSTPages/SSTMainDownloads/>.
This guide is using the most recent SST version (13.0.0) as of September 2023.
This guide is using the most recent SST version (14.0.0) as of September 2024.
The following guide assumes `$SST_CORE_HOME` as the location where SST will be
installed.
@@ -11,14 +11,14 @@ installed.
### Downloading the SST-Core Source Code
```sh
wget https://github.com/sstsimulator/sst-core/releases/download/v13.0.0_Final/sstcore-13.0.0.tar.gz
tar xzf sstcore-13.0.0.tar.gz
wget https://github.com/sstsimulator/sst-core/releases/download/v14.0.0_Final/sstcore-14.0.0.tar.gz
tar xzf sstcore-14.0.0.tar.gz
```
### Installing SST-Core
```sh
cd sstcore-13.0.0
cd sstcore-14.0.0
./configure --prefix=$SST_CORE_HOME --with-python=/usr/bin/python3-config \
--disable-mpi # optional, used when MPI is not available.
make all -j$(nproc)
@@ -36,14 +36,14 @@ export PATH=$SST_CORE_HOME/bin:$PATH
### Downloading the SST-Elements Source Code
```sh
wget https://github.com/sstsimulator/sst-elements/releases/download/v13.0.0_Final/sstelements-13.0.0.tar.gz
tar xzf sstelements-13.0.0.tar.gz
wget https://github.com/sstsimulator/sst-elements/releases/download/v14.0.0_Final/sstelements-14.0.0.tar.gz
tar xzf sstelements-14.0.0.tar.gz
```
### Installing SST-Elements
```sh
cd sst-elements-library-13.0.0
cd sst-elements-library-14.0.0
./configure --prefix=$SST_CORE_HOME --with-python=/usr/bin/python3-config \
--with-sst-core=$SST_CORE_HOME
make all -j$(nproc)

View File

@@ -1,21 +0,0 @@
SST_VERSION=SST-11.1.0 # Name of the .pc file in lib/pkgconfig where SST is installed
GEM5_LIB=gem5_opt
ARCH=RISCV
OFLAG=3
LDFLAGS=-shared -fno-common ${shell pkg-config ${SST_VERSION} --libs} -L../../build/${ARCH}/ -Wl,-rpath ../../build/${ARCH}
CXXFLAGS=-std=c++17 -g -O${OFLAG} -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python3-config --includes} -I../../build/${ARCH}/ -I../../ext/pybind11/include/ -I../../build/softfloat/ -I../../ext
CPPFLAGS+=-MMD -MP
SRC=$(wildcard *.cc)
.PHONY: clean all
all: libgem5.so
libgem5.so: $(SRC:%.cc=%.o)
${CXX} ${CPPFLAGS} ${LDFLAGS} $? -o $@ -l${GEM5_LIB}
-include $(SRC:%.cc=%.d)
clean:
${RM} *.[do] libgem5.so

View File

@@ -1,4 +1,4 @@
SST_VERSION=SST-13.0.0 # Name of the .pc file in lib/pkgconfig where SST is installed
SST_VERSION=SST-14.0.0 # Name of the .pc file in lib/pkgconfig where SST is installed
GEM5_LIB=gem5_opt
ARCH=RISCV
OFLAG=3

View File

@@ -1,4 +1,4 @@
SST_VERSION=SST-13.0.0 # Name of the .pc file in lib/pkgconfig where SST is installed
SST_VERSION=SST-14.0.0 # Name of the .pc file in lib/pkgconfig where SST is installed
GEM5_LIB=gem5_opt
ARCH=RISCV
OFLAG=3