You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move to manylinux_2_28 base image for wheels (#3306)
* use new Docker image tags (`manylinux_2_28_x86_64` and `manylinux_2_28_aarch64`) in CI for building wheels
* use vendor-provided `flex`, `mpich`, and `openmpi` instead of building from source (still need custom `readline` and `ncurses` as the `*-static` versions do not use `-fPIC`)
* unify MPI headers when building wheels
* remove BBP-specific tests for wheels
* show warning in Python wrapper if host machine is using GCC<10
* mention new min system requirements in docs when using a manylinux NEURON wheel
Copy file name to clipboardexpand all lines: docs/install/python_wheels.md
+2-31
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
## Linux wheels
5
5
6
6
In order to have NEURON binaries run on most Linux distros, we rely on the [manylinux project](https://github.com/pypa/manylinux).
7
-
Current NEURON Linux image is based on `manylinux2014`.
7
+
Current NEURON Linux image is based on `manylinux_2_28`.
8
8
9
9
### Setting up Docker
10
10
@@ -35,23 +35,8 @@ Refer to the following image for the NEURON Docker Image workflow:
35
35

36
36
37
37
38
-
### Building the docker images automatically
39
-
If you run the workflow manually on Gitlab (with the "Run pipeline" button), it will now have the `mac_m1_container_build` and `x86_64_container_build` jobs added to it. These jobs need to be started manually and will not affect the overal workflow status. They don't need to be run every time, just when a refresh of the container images is necessary.
40
-
They will build the container images and push to docker hub. If you want to, you can still build manually (see next section), but there shouldn't be a requirement to do so any more.
41
-
42
-
A word of warning: podman on OSX uses a virtual machine. The job can take care of starting it, but we generally try to have it running to avoid jobs cleaning up after themselves and killing the machine for other jobs. When starting the machine, set the variables that need to be set during the container build, ie. proxy and `BUILDAH_FORMAT`.
43
-
44
-
`BUILDAH_FORMAT` ensures that `ONBUILD` instructions are enabled.
45
-
46
-
```
47
-
export http_proxy=http://bbpproxy.epfl.ch:80
48
-
export https_proxy=http://bbpproxy.epfl.ch:80
49
-
export HTTP_PROXY=http://bbpproxy.epfl.ch:80
50
-
export HTTPS_PROXY=http://bbpproxy.epfl.ch:80
51
-
export BUILDAH_FORMAT=docker
52
-
```
53
-
54
38
### Building the docker image manually
39
+
55
40
After making updates to any of the docker files, you can build the image with:
56
41
```
57
42
cd nrn/packaging/python
@@ -108,11 +93,6 @@ For `HPE-MPT MPI`, since it's not open source, you need to acquire the headers a
0 commit comments