Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
wu-kan authored Mar 21, 2024
1 parent 811e48b commit f1145d8
Showing 26 changed files with 24 additions and 1,478 deletions.
23 changes: 19 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:1.4
ARG BASE_IMAGE=debian:bookworm-slim
FROM ${BASE_IMAGE}
COPY . /root/sysu-scc-spack-repo-latest
ENV SCC_SETUP_ENV=/root/sysu-scc-spack-repo-latest/share/sysu-scc-spack-repo/setup-env.sh
FROM ${BASE_IMAGE} as builder
COPY . /root/opt/sysu-scc-spack-repo-latest
ENV SCC_SETUP_ENV=/root/opt/sysu-scc-spack-repo-latest/share/sysu-scc-spack-repo/setup-env.sh
RUN <<EOF
apt-get update -y
apt-get upgrade -y
@@ -14,5 +14,20 @@ apt-get clean -y
rm -rf /var/lib/apt/lists/*
$(dirname $SCC_SETUP_ENV)/init-env.sh v0.21.2
. ${SCC_SETUP_ENV}
$(dirname $SCC_SETUP_ENV)/init-default-compiler.sh "builtin.gcc@12.3.0 target=x86_64_v3 os=ubuntu22.04" "gcc@12.3.0%gcc@12.3.0 target=$(arch)" "gcc@12.3.0"
$(dirname $SCC_SETUP_ENV)/init-default-compiler.sh "builtin.gcc@12.3.0 target=x86_64_v3 os=ubuntu22.04" "gcc@12.3.0%gcc@12.3.0+binutils target=$(arch)" "gcc@12.3.0"
spack install --fail-fast -y python && spack gc -y && spack clean -ab
cp -r $(spack location -i python)/* /root/opt/python
EOF
FROM ${BASE_IMAGE}
ENV SCC_SETUP_ENV=/root/opt/sysu-scc-spack-repo-latest/share/sysu-scc-spack-repo/setup-env.sh
ENV SPACK_PYTHON=/root/opt/python/bin/python
RUN <<EOF
apt-get update -y
apt-get upgrade -y
apt-get install --no-install-recommends -y \
patch tar gzip bzip2 xz-utils file
apt-get autoremove -y
apt-get clean -y
rm -rf /var/lib/apt/lists/*
EOF
COPY --from=builder /root/opt /root/opt
2 changes: 1 addition & 1 deletion packages/antlr4-cpp-runtime/package.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ class Antlr4CppRuntime(CMakePackage):

depends_on("libuuid", type=["build", "link"], when="@:4.10.1")
depends_on("git", type=["build"])
depends_on("pkg-config", type=["build"])
depends_on("pkgconfig", type=["build"])

def cmake_args(self):
args = [
58 changes: 0 additions & 58 deletions packages/cutlass/package.py

This file was deleted.

91 changes: 0 additions & 91 deletions packages/hpcx/package.py

This file was deleted.

111 changes: 0 additions & 111 deletions packages/hpl-2_fermi/package.py

This file was deleted.

27 changes: 0 additions & 27 deletions packages/m4/checks-198.sysval.1.patch

This file was deleted.

31 changes: 0 additions & 31 deletions packages/m4/checks-198.sysval.2.patch

This file was deleted.

195 changes: 0 additions & 195 deletions packages/m4/gnulib-pgi.patch

This file was deleted.

14 changes: 0 additions & 14 deletions packages/m4/nvhpc-1.4.19.patch

This file was deleted.

17 changes: 0 additions & 17 deletions packages/m4/nvhpc-long-width.patch

This file was deleted.

34 changes: 0 additions & 34 deletions packages/m4/nvhpc.patch

This file was deleted.

18 changes: 0 additions & 18 deletions packages/m4/oneapi.patch

This file was deleted.

137 changes: 0 additions & 137 deletions packages/m4/package.py

This file was deleted.

10 changes: 0 additions & 10 deletions packages/m4/pgi.patch

This file was deleted.

15 changes: 0 additions & 15 deletions packages/m4/secure_snprintf.patch

This file was deleted.

4 changes: 0 additions & 4 deletions packages/m4/test/hello.m4

This file was deleted.

3 changes: 0 additions & 3 deletions packages/m4/test/hello.out

This file was deleted.

83 changes: 0 additions & 83 deletions packages/mibench-automotive/package.py

This file was deleted.

78 changes: 0 additions & 78 deletions packages/mibench-consumer/package.py

This file was deleted.

69 changes: 0 additions & 69 deletions packages/mibench-network/package.py

This file was deleted.

94 changes: 0 additions & 94 deletions packages/mibench-office/package.py

This file was deleted.

87 changes: 0 additions & 87 deletions packages/mibench-security/package.py

This file was deleted.

84 changes: 0 additions & 84 deletions packages/mibench-telecomm/package.py

This file was deleted.

3 changes: 2 additions & 1 deletion packages/py-vl-convert-python/package.py
Original file line number Diff line number Diff line change
@@ -9,9 +9,10 @@
class PyVlConvertPython(PythonPackage):
"""Convert Vega-Lite chart specifications to SVG, PNG, or Vega"""

homepage = "https://github.com/jonmmease/vl-convert"
homepage = "https://github.com/vega/vl-convert"
pypi = "vl_convert_python/vl_convert_python-0.13.1.tar.gz"

version("1.3.0", sha256="de1462151dfbba7b2a17881dac1d2269662012c252f1e9d1537a4daed5e36067")
version("0.13.1", sha256="d70a608257dd6b5b782d96cccebfe7289992e522e47a8bebb7d928253ca8b396")

depends_on("python@3.7:", type=("build", "run"))
210 changes: 0 additions & 210 deletions packages/rodinia/package.py

This file was deleted.

4 changes: 2 additions & 2 deletions packages/sysu-lang/package.py
Original file line number Diff line number Diff line change
@@ -30,10 +30,10 @@ class SysuLang(CMakePackage):

depends_on("flex", type="build")
depends_on("bison", type="build")
depends_on("antlr4-complete", type=["build", "run"], when="@2404.0.0.20240115:")
depends_on("antlr4-complete", type=["build"], when="@2404.0.0.20240115:")
depends_on("antlr4-cpp-runtime", type=["build", "run"], when="@2404.0.0.20240115:")
depends_on("libuuid", type=["build", "link"], when="^antlr4-cpp-runtime@:4.10.1")
depends_on("llvm@11.0.0:+clang", type="link")
depends_on("llvm@11.0.0:+clang", type=["link", "run"])
depends_on("python@3.8.0:", type="run")

def cmake_args(self):

0 comments on commit f1145d8

Please sign in to comment.