-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into olupton/ubsan-fixes
- Loading branch information
Showing
501 changed files
with
24,900 additions
and
5,710 deletions.
There are no files selected for viewing
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,108 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
python: circleci/[email protected] | ||
|
||
jobs: | ||
manylinux2014-aarch64: | ||
|
||
parameters: | ||
NRN_PYTHON_VERSION: | ||
type: string | ||
NRN_NIGHTLY_UPLOAD: | ||
type: string | ||
|
||
machine: | ||
image: ubuntu-2004:202101-01 | ||
|
||
resource_class: arm.medium | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: Build manylinux AArch64 wheel | ||
command: | | ||
docker run --rm \ | ||
-w /root/nrn \ | ||
-v $PWD:/root/nrn \ | ||
-v /opt/nrnwheel/mpt:/nrnwheel/mpt \ | ||
-e NEURON_NIGHTLY_TAG \ | ||
-e NRN_NIGHTLY_UPLOAD \ | ||
-e NRN_RELEASE_UPLOAD \ | ||
-e NEURON_WHEEL_VERSION \ | ||
-e NRN_BUILD_FOR_UPLOAD=1 \ | ||
'neuronsimulator/neuron_wheel:latest-aarch64' \ | ||
packaging/python/build_wheels.bash linux << parameters.NRN_PYTHON_VERSION >> coreneuron | ||
- store_artifacts: | ||
path: ./wheelhouse | ||
destination: artifacts | ||
|
||
- run: | ||
name: Test manylinux AArch64 wheel | ||
command: | | ||
# install mpi dependencies | ||
sudo apt update | ||
sudo apt install -y mpich openmpi-bin libopenmpi-dev libmpich-dev | ||
# choose available python versions from pyenv | ||
pyenv_py_ver="" | ||
case << parameters.NRN_PYTHON_VERSION >> in | ||
36) pyenv_py_ver="3.6.12" ;; | ||
37) pyenv_py_ver="3.7.9" ;; | ||
38) pyenv_py_ver="3.8.7" ;; | ||
39) pyenv_py_ver="3.9.1" ;; | ||
310) pyenv_py_ver="3.10.1" ;; | ||
*) echo "Error: pyenv python version not specified!" && exit 1;; | ||
esac | ||
# install python dependencies: .10 is not available pyenv | ||
if [ "<< parameters.NRN_PYTHON_VERSION >>" == "310" ]; then | ||
sudo apt install software-properties-common -y | ||
sudo add-apt-repository ppa:deadsnakes/ppa -y | ||
sudo apt install python3.10 libpython3.10 python3.10-venv | ||
export PYTHON_EXE=$(which python3.10) | ||
else | ||
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $pyenv_py_ver --force | ||
pyenv global $pyenv_py_ver | ||
export PYTHON_EXE=$(which python) | ||
fi | ||
# test wheel | ||
packaging/python/test_wheels.sh $PYTHON_EXE $(ls -t wheelhouse/*.whl) | ||
- run: | ||
name: Upload nightly wheel to pypi.org | ||
command: | | ||
if [ "<< parameters.NRN_NIGHTLY_UPLOAD >>" == "true" ]; then | ||
python -m pip install twine | ||
python -m twine upload --verbose --skip-existing -u $TWINE_USERNAME -p $TWINE_PASSWORD wheelhouse/*.whl | ||
else | ||
echo "Skipping pypi.org upload!" | ||
fi | ||
workflows: | ||
|
||
build-workflow: | ||
jobs: | ||
- manylinux2014-aarch64: | ||
matrix: | ||
parameters: | ||
NRN_PYTHON_VERSION: ["310"] | ||
NRN_NIGHTLY_UPLOAD: ["false"] | ||
|
||
nightly: | ||
triggers: | ||
- schedule: | ||
cron: "0 0 * * *" | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
jobs: | ||
- manylinux2014-aarch64: | ||
matrix: | ||
parameters: | ||
NRN_PYTHON_VERSION: ["36", "37", "38", "39", "310"] | ||
NRN_NIGHTLY_UPLOAD: ["true"] |
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/usr/bin/env bash | ||
|
||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/usr/bin/env bash | ||
|
||
#NETSCAPE='/u3/local/hines/netscape/netscape' | ||
NETSCAPE=`which netscape` | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
if test $# = 0 ; then | ||
files="`ls *.mod`" | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#!/usr/bin/env bash | ||
|
||
# mos2nrn2 zipfile simdir running | ||
|
||
|
Oops, something went wrong.