Sign inSign up

stcopenmpp/stcopenmpp-build

By stcopenmpp

•Updated 1 day ago

Docker images for building stcopenmpp in Windows and Linux.

Image
Data science
0

2.8K

stcopenmpp/stcopenmpp-build repository overview

For more details about stcopenmpp, visit github.com/statcan/stcopenmpp⁠.


⁠Contents


⁠Windows

⁠Artifacts

The following artifacts are used in this build:

ArtifactVersionURL
7-Zip Updated26.01https://www.7-zip.org/a/7z2601-x64.exe
Git2.52.0https://github.com/git-for-windows/git/releases/download/v2.52.0.windows.1/Git-2.52.0-64-bit.exe
Go Updated1.26.1https://go.dev/dl/go1.26.1.windows-amd64.zip
Microsoft MPI10.1.12498.52https://download.microsoft.com/download/7/2/7/72731ebb-b63c-4170-ade7-836966263a8f/msmpisetup.exe
Microsoft MPI SDK10.1.12498.52https://download.microsoft.com/download/7/2/7/72731ebb-b63c-4170-ade7-836966263a8f/msmpisdk.msi
Microsoft Visual Studio Build Tools17.4.35026.314https://aka.ms/vs/17/release.ltsc.17.4/vs_buildtools.exe
MinGW20.0https://nuwen.net/files/mingw/history/mingw-20.0.exe
Node.js Updated24.14.1https://nodejs.org/dist/v24.14.0/node-v24.14.1-win-x64.zip
Perl (x64)5.32.1.1https://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32.1.1-64bit-portable.zip
Perl (x86)5.32.1.1https://strawberryperl.com/download/5.32.1.1/strawberry-perl-no64-5.32.1.1-32bit-portable.zip
SQLite3.51.0https://www.sqlite.org/2025/sqlite-tools-win-x64-3510100.zip
winflexbison2.5.25https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip
⁠Download build image
docker pull stcopenmpp/stcopenmpp-build:windows-20h2
⁠Create container based on build image

In Docker Desktop's terminal (Windows PowerShell), this set of commands creates and starts a container from the previously downloaded image:

docker run `
  --rm `
  -it `
  -e OMPP_BUILD_TAG=main `
  -v c:\users\username\downloads\ompp-build:c:\build `
  stcopenmpp/stcopenmpp-build:windows-20H2

Note: c:\users\username\downloads\ompp-build represents the pre-existing directory on your local machine where the stcopenmpp build will be made available.

The image's default ENTRYPOINT is Windows CMD.

⁠Build stcopenmpp inside container

Once the container is running, this command initiates an stcopenmpp build:

build-all.bat

Several environment variables can be set with an -e flag (e.g., -e OMPP_GIT_URL=https://github.com/statcan/stcopenmpp) when running the image:

NameDescription
OMPP_GIT_URL Optional (default: https://github.com/statcan/stcopenmpp)The URL to the stcopenmpp repo.
OM_BUILD_CONFIGS Optional (default: Release,Debug)The build(s) to make.
OM_BUILD_PLATFORMS Optional (default: Win32,x64)The build architecture.
OM_MSG_USE Optional (default: empty)If MPI, then the MPI version will be built.
OMPP_BUILD_TAG Optional (default: last commit on default branch)The repo branch or commit to build from.
OMPP_DEPLOY_NAME Optional (default: stcopenmpp-windows-YYYYMMDD.zip)The filename of the build zip.

⁠Linux (Debian)

⁠Artifacts

The following artifacts are used in this build:

ArtifactVersionURL
Bison3.8.2https://packages.guix.gnu.org/packages/bison/3.8.2
curl8.14.1https://packages.debian.org/stable/curl
Debian13.2 (trixie)https://www.debian.org/releases/trixie
Flex2.6.4https://packages.guix.gnu.org/packages/flex/2.6.4
g++14.2.0https://ftp.gnu.org/gnu/gcc/gcc-14.2.0
Git2.47.3https://debian.pkgs.org/13/debian-main-amd64/git_2.47.3-0+deb13u1_amd64.deb.html
Go Updated1.26.1https://pkgs.org/download/golang
Make4.4.1https://ftp.gnu.org/gnu/make/?C=M;O=D
Node.js Updated24.14.1https://nodejs.org/dist/v24.14.0/node-v24.14.1-linux-x64.tar.xz
Open MPI (libopenmpi-dev)5.0.7-1https://packages.debian.org/trixie/amd64/net/libopenmpi-dev
Open MPI (openmpi-bin)5.0.7https://packages.debian.org/trixie/amd64/net/openmpi-bin
Perl5.40.1https://packages.debian.org/sid/amd64/perl/download
SQLite3.46.1https://packages.debian.org/stable/sqlite3
XZ Utils5.8.1https://packages.debian.org/stable/XZ-Utils
⁠Download build image
docker pull stcopenmpp/stcopenmpp-build:debian
⁠Create container based on build image

In Docker Desktop's terminal (Windows PowerShell), this set of commands creates and starts a container from the previously downloaded image:

docker run `
  --rm `
  -it `
  -e OMPP_BUILD_TAG=main `
  -v c:\users\username\downloads\ompp-build:c:\build `
  stcopenmpp/stcopenmpp-build:debian

Note: c:\users\username\downloads\ompp-build represents the pre-existing directory on your local machine where the stcopenmpp build will be made available.

⁠Build stcopenmpp inside container

Once the container is running, this command initiates an stcopenmpp build:

./build-all

Once the build is finished, this command exports the build to the mounted folder:

cp stcopenmpp-debian-yyyymmdd.tar.xz /mnt/ompp-build/stcopenmpp-debian-yyyymmdd.tar.xz

Several environment variables can be set with an -e flag (e.g., -e OMPP_GIT_URL=https://github.com/statcan/stcopenmpp) when running the image:

NameDescription
OMPP_GIT_URL Optional (default: https://github.com/statcan/stcopenmpp)The URL to the stcopenmpp repo.
OM_BUILD_CONFIGS Optional (default: Release,Debug)The build(s) to make.
OM_BUILD_PLATFORMS Optional (default: Win32,x64)The build architecture.
OM_MSG_USE Optional (default: empty)If MPI, then the MPI version will be built.
OMPP_BUILD_TAG Optional (default: last commit on default branch)The repo branch or commit to build from.
OMPP_DEPLOY_NAME Optional (default: stcopenmpp-debian-YYYYMMDD.xz)The filename of the build tarball.

⁠Linux (Ubuntu)

⁠Artifacts

The following artifacts are used in this build:

ArtifactVersionURL
Bison3.8.2https://packages.guix.gnu.org/packages/bison/3.8.2
curl8.5.0https://packages.ubuntu.com/noble/amd64/curl
Flex2.6.4https://packages.guix.gnu.org/packages/flex/2.6.4
g++13.3.0https://packages.ubuntu.com/noble/amd64/gcc-13
Git2.43.0https://packages.ubuntu.com/noble/amd64/git
Go Updated1.26.1https://pkgs.org/download/golang
Make4.3https://ubuntu.pkgs.org/22.04/ubuntu-main-amd64/make_4.3-4.1build1_amd64.deb.html
Node.js Updated24.14.1https://nodejs.org/dist/v24.14.0/node-v24.14.1-linux-x64.tar.xz
Open MPI (libopenmpi-dev)4.1.6-7https://ubuntu.pkgs.org/24.04/ubuntu-universe-amd64/libopenmpi-dev_4.1.6-7ubuntu2_amd64.deb.html
Open MPI (openmpi-bin)4.1.6https://ubuntu.pkgs.org/24.04/ubuntu-universe-amd64/openmpi-bin_4.1.6-7ubuntu2_amd64.deb.html
Perl5.38.2https://ubuntu.pkgs.org/24.04/ubuntu-main-amd64/perl_5.38.2-3.2build2_amd64.deb.html
SQLite3.45.1https://packages.ubuntu.com/noble/sqlite3
Ubuntu24.04.3 LTS (Noble Numbat)https://releases.ubuntu.com/24.04.3
XZ Utils5.4.5https://packages.ubuntu.com/noble/xz-utils
⁠Download build image
docker pull stcopenmpp/stcopenmpp-build:ubuntu
⁠Create container based on build image

In Docker Desktop's terminal (Windows PowerShell), this set of commands creates and starts a container from the previously downloaded image:

docker run `
  --rm `
  -it `
  -e OMPP_BUILD_TAG=main `
  -v c:\users\username\downloads\ompp-build:c:\build `
  stcopenmpp/stcopenmpp-build:ubuntu

Note: c:\users\username\downloads\ompp-build represents the pre-existing directory on your local machine where the stcopenmpp build will be made available.

⁠Build stcopenmpp inside container

Once the container is running, this command initiates an stcopenmpp build:

./build-all

Once the build is finished, this command exports the build to the mounted folder:

cp stcopenmpp-ubuntu-yyyymmdd.tar.xz /mnt/ompp-build/stcopenmpp-ubuntu-yyyymmdd.tar.xz

Several environment variables can be set with an -e flag (e.g., -e OMPP_GIT_URL=https://github.com/statcan/stcopenmpp) when running the image:

NameDescription
OMPP_GIT_URL Optional (default: https://github.com/statcan/stcopenmpp)The URL to the stcopenmpp repo.
OM_BUILD_CONFIGS Optional (default: Release,Debug)The build(s) to make.
OM_BUILD_PLATFORMS Optional (default: Win32,x64)The build architecture.
OM_MSG_USE Optional (default: empty)If MPI, then the MPI version will be built.
OMPP_BUILD_TAG Optional (default: last commit on default branch)The repo branch or commit to build from.
OMPP_DEPLOY_NAME Optional (default: stcopenmpp-ubuntu-YYYYMMDD.xz)The filename of the build tarball.

Tag summary

Content type

Image

Digest

sha256:a11d429c1…

Size

360.2 MB

Last updated

1 day ago

docker pull stcopenmpp/stcopenmpp-build:ubuntu22