-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more multi-locale package configurations (#25386)
Adds new multi-locale package configurations for various OSes - GASNet+udp - debian 11 - fedora 37 - fedora 38 - fedora 39 - fedora 40 - ubuntu 24 - OFI+slurm - ubuntu 24 [Reviewed by @jhh67]
- Loading branch information
Showing
14 changed files
with
391 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
util/packaging/apt/debian11-gasnet-udp/Dockerfile.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM debian:bullseye AS build | ||
|
||
@@{ARGUMENTS} | ||
|
||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y \ | ||
curl wget vim sudo gcc g++ m4 perl chrpath \ | ||
python3 python3-dev python3-venv bash make mawk git pkg-config cmake \ | ||
llvm-dev llvm clang libclang-dev libclang-cpp-dev libedit-dev | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Package: @@{DEB_NAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Maintainer: chapel-lang | ||
Architecture: @@{TARGETARCH} | ||
Description: Chapel Programming Language | ||
Depends: git,gcc,llvm-dev,llvm,clang,libclang-dev,libclang-cpp-dev,python3,python3-dev,python3-venv,make |
25 changes: 25 additions & 0 deletions
25
util/packaging/apt/ubuntu24-gasnet-udp/Dockerfile.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ubuntu:24.04 AS build | ||
|
||
@@{ARGUMENTS} | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y \ | ||
curl wget vim sudo gcc g++ m4 perl chrpath \ | ||
python3 python3-dev python3-venv bash make mawk git pkg-config cmake \ | ||
llvm-dev llvm clang libclang-dev libclang-cpp-dev libedit-dev | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Package: @@{DEB_NAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Maintainer: chapel-lang | ||
Architecture: @@{TARGETARCH} | ||
Description: Chapel Programming Language | ||
Depends: git,gcc,llvm-dev,llvm,clang,libclang-dev,libclang-cpp-dev,python3,python3-dev,python3-venv,make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu:24.04 AS build | ||
|
||
@@{ARGUMENTS} | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y \ | ||
curl wget vim sudo gcc g++ m4 perl chrpath \ | ||
python3 python3-dev python3-venv bash make mawk git pkg-config cmake \ | ||
llvm-dev llvm clang libclang-dev libclang-cpp-dev libedit-dev \ | ||
libpmi2-0-dev libslurm-dev | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_OFI_SLURM} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Package: @@{DEB_NAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Maintainer: chapel-lang | ||
Architecture: @@{TARGETARCH} | ||
Description: Chapel Programming Language | ||
Depends: git,gcc,llvm-dev,llvm,clang,libclang-dev,libclang-cpp-dev,python3,python3-dev,python3-venv,make,libpmi2-0-dev,libslurm-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM fedora:37 AS build | ||
|
||
@@{ARGUMENTS} | ||
|
||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN dnf upgrade -y && \ | ||
dnf install -y \ | ||
gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake \ | ||
which diffutils wget vim \ | ||
llvm-devel clang clang-devel \ | ||
rpm-build rpm-devel rpmlint coreutils patch rpmdevtools chrpath | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Name: @@{BASENAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Release: @@{PACKAGE_VERSION}%{?dist} | ||
ExclusiveArch: %{_arch} | ||
Summary: Chapel | ||
|
||
License: Apache-2.0 | ||
Source0: chapel-%{version}.tar.gz | ||
|
||
Requires: bash perl git llvm-devel clang clang-devel python3 python3-devel make | ||
|
||
%description | ||
Chapel Programming Language | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n chapel-%{version} | ||
|
||
%build | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
mkdir -p %{buildroot}/%{_prefix} | ||
mkdir -p %{buildroot}/%{_prefix}/bin | ||
mkdir -p %{buildroot}/%{_prefix}/lib | ||
mkdir -p %{buildroot}/%{_prefix}/share | ||
|
||
# Binaries | ||
cp %{_prefix}/bin/chpl %{buildroot}/%{_prefix}/bin/chpl | ||
cp %{_prefix}/bin/chpldoc %{buildroot}/%{_prefix}/bin/chpldoc | ||
cp %{_prefix}/bin/mason %{buildroot}/%{_prefix}/bin/mason | ||
cp %{_prefix}/bin/chplcheck %{buildroot}/%{_prefix}/bin/chplcheck | ||
cp %{_prefix}/bin/chpl-language-server %{buildroot}/%{_prefix}/bin/chpl-language-server | ||
# Libraries | ||
cp -r %{_prefix}/lib/chapel %{buildroot}/%{_prefix}/lib/chapel | ||
# CHPL_HOME | ||
cp -r %{_prefix}/share/chapel %{buildroot}/%{_prefix}/share/chapel | ||
|
||
%files | ||
%{_prefix}/bin/chpl | ||
%{_prefix}/bin/chpldoc | ||
%{_prefix}/bin/mason | ||
%{_prefix}/bin/chplcheck | ||
%{_prefix}/bin/chpl-language-server | ||
%{_prefix}/lib/chapel/* | ||
%{_prefix}/share/chapel/* | ||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM fedora:38 AS build | ||
|
||
@@{ARGUMENTS} | ||
|
||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN dnf upgrade -y && \ | ||
dnf install -y \ | ||
gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake \ | ||
which diffutils wget vim \ | ||
llvm-devel clang clang-devel \ | ||
rpm-build rpm-devel rpmlint coreutils patch rpmdevtools chrpath | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Name: @@{BASENAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Release: @@{PACKAGE_VERSION}%{?dist} | ||
ExclusiveArch: %{_arch} | ||
Summary: Chapel | ||
|
||
License: Apache-2.0 | ||
Source0: chapel-%{version}.tar.gz | ||
|
||
Requires: bash perl git llvm-devel clang clang-devel python3 python3-devel make | ||
|
||
%description | ||
Chapel Programming Language | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n chapel-%{version} | ||
|
||
%build | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
mkdir -p %{buildroot}/%{_prefix} | ||
mkdir -p %{buildroot}/%{_prefix}/bin | ||
mkdir -p %{buildroot}/%{_prefix}/lib | ||
mkdir -p %{buildroot}/%{_prefix}/share | ||
|
||
# Binaries | ||
cp %{_prefix}/bin/chpl %{buildroot}/%{_prefix}/bin/chpl | ||
cp %{_prefix}/bin/chpldoc %{buildroot}/%{_prefix}/bin/chpldoc | ||
cp %{_prefix}/bin/mason %{buildroot}/%{_prefix}/bin/mason | ||
cp %{_prefix}/bin/chplcheck %{buildroot}/%{_prefix}/bin/chplcheck | ||
cp %{_prefix}/bin/chpl-language-server %{buildroot}/%{_prefix}/bin/chpl-language-server | ||
# Libraries | ||
cp -r %{_prefix}/lib/chapel %{buildroot}/%{_prefix}/lib/chapel | ||
# CHPL_HOME | ||
cp -r %{_prefix}/share/chapel %{buildroot}/%{_prefix}/share/chapel | ||
|
||
%files | ||
%{_prefix}/bin/chpl | ||
%{_prefix}/bin/chpldoc | ||
%{_prefix}/bin/mason | ||
%{_prefix}/bin/chplcheck | ||
%{_prefix}/bin/chpl-language-server | ||
%{_prefix}/lib/chapel/* | ||
%{_prefix}/share/chapel/* | ||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM fedora:39 AS build | ||
|
||
@@{ARGUMENTS} | ||
|
||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN dnf upgrade -y && \ | ||
dnf install -y \ | ||
gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake \ | ||
which diffutils wget vim \ | ||
llvm-devel clang clang-devel \ | ||
rpm-build rpm-devel rpmlint coreutils patch rpmdevtools chrpath | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Name: @@{BASENAME} | ||
Version: @@{CHAPEL_VERSION} | ||
Release: @@{PACKAGE_VERSION}%{?dist} | ||
ExclusiveArch: %{_arch} | ||
Summary: Chapel | ||
|
||
License: Apache-2.0 | ||
Source0: chapel-%{version}.tar.gz | ||
|
||
Requires: bash perl git llvm-devel clang clang-devel python3 python3-devel make | ||
|
||
%description | ||
Chapel Programming Language | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n chapel-%{version} | ||
|
||
%build | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
mkdir -p %{buildroot}/%{_prefix} | ||
mkdir -p %{buildroot}/%{_prefix}/bin | ||
mkdir -p %{buildroot}/%{_prefix}/lib | ||
mkdir -p %{buildroot}/%{_prefix}/share | ||
|
||
# Binaries | ||
cp %{_prefix}/bin/chpl %{buildroot}/%{_prefix}/bin/chpl | ||
cp %{_prefix}/bin/chpldoc %{buildroot}/%{_prefix}/bin/chpldoc | ||
cp %{_prefix}/bin/mason %{buildroot}/%{_prefix}/bin/mason | ||
cp %{_prefix}/bin/chplcheck %{buildroot}/%{_prefix}/bin/chplcheck | ||
cp %{_prefix}/bin/chpl-language-server %{buildroot}/%{_prefix}/bin/chpl-language-server | ||
# Libraries | ||
cp -r %{_prefix}/lib/chapel %{buildroot}/%{_prefix}/lib/chapel | ||
# CHPL_HOME | ||
cp -r %{_prefix}/share/chapel %{buildroot}/%{_prefix}/share/chapel | ||
|
||
%files | ||
%{_prefix}/bin/chpl | ||
%{_prefix}/bin/chpldoc | ||
%{_prefix}/bin/mason | ||
%{_prefix}/bin/chplcheck | ||
%{_prefix}/bin/chpl-language-server | ||
%{_prefix}/lib/chapel/* | ||
%{_prefix}/share/chapel/* | ||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM fedora:40 AS build | ||
|
||
@@{ARGUMENTS} | ||
|
||
@@{INJECT_BEFORE_DEPS} | ||
|
||
RUN dnf upgrade -y && \ | ||
dnf install -y \ | ||
gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake \ | ||
which diffutils wget vim \ | ||
llvm-devel clang clang-devel \ | ||
rpm-build rpm-devel rpmlint coreutils patch rpmdevtools chrpath | ||
|
||
@@{USER_CREATION} | ||
|
||
@@{GET_CHAPEL} | ||
|
||
@@{BUILD_DEFAULT} | ||
@@{BUILD_GASNET_UDP} | ||
|
||
@@{INSTALL} | ||
|
||
@@{PACKAGE_SETUP} | ||
|
||
@@{PACKAGE_BUILD} |
Oops, something went wrong.