Skip to content

Commit b1dbbdb

Browse files
Reverting to build
1 parent 764ab08 commit b1dbbdb

17 files changed

Lines changed: 106 additions & 31 deletions

.github/workflows/autobuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
name: netlrts-linux-x86_64 -pedantic
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: build
17-
run: ./buildold all-test netlrts-linux-x86_64 -g -j6 --with-production -pedantic
17+
run: ./build all-test netlrts-linux-x86_64 -g -j6 --with-production -pedantic
1818
- name: test
1919
run: make -C netlrts-linux-x86_64/tmp test TESTOPTS="++local"
2020
- name: testp P=2

.github/workflows/buildold.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
1313
- name: build
1414
run: ./buildold all-test netlrts-linux-x86_64 -g -j4 --with-production
1515
- name: test

.github/workflows/changa.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
- name: Set up CMake 3
12+
run: |
13+
python3 -m pip install --user 'cmake<4'
14+
python3 - <<'PYCM' >> "$GITHUB_PATH"
15+
import site
16+
print(site.USER_BASE + '/bin')
17+
PYCM
1118
- name: build-charm++
12-
run: ./buildold ChaNGa netlrts-linux-x86_64 -g -j4 --with-production
19+
run: ./build ChaNGa netlrts-linux-x86_64 -g -j4 --with-production
1320
- name: build-changa
1421
run: |
1522
git clone https://github.com/N-bodyshop/utility

.github/workflows/cuda.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15+
- name: Set up CMake 3
16+
run: |
17+
python3 -m pip install --user 'cmake<4'
18+
python3 - <<'PYCM' >> "$GITHUB_PATH"
19+
import site
20+
print(site.USER_BASE + '/bin')
21+
PYCM
1522
- name: build
1623
run: |
1724
sudo apt-get update
1825
sudo apt-get -y install nvidia-cuda-toolkit
19-
./buildold all-test netlrts-linux-x86_64 cuda -j4 -g
26+
./build all-test netlrts-linux-x86_64 cuda -j4 -g
2027
export CUDATOOLKIT_HOME=/usr # TODO: make this unnecessary
2128
make -j4 -C netlrts-linux-x86_64-cuda/examples/charm++/cuda OPTS="-g"
2229
make -j4 -C netlrts-linux-x86_64-cuda/examples/ampi/cuda OPTS="-g"

.github/workflows/doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
-
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: '3.x'
2222
- name: Install prerequisites

.github/workflows/mpi_linux_smp.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
13+
- name: Set up CMake 3
14+
run: |
15+
python3 -m pip install --user 'cmake<4'
16+
python3 - <<'PYCM' >> "$GITHUB_PATH"
17+
import site
18+
print(site.USER_BASE + '/bin')
19+
PYCM
1320
- name: install-prerequisites
1421
run: sudo apt-get update && sudo apt-get install -y mpich libmpich-dev
1522
- name: build
16-
run: ./buildold all-test mpi-linux-x86_64 smp --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
23+
run: ./build all-test mpi-linux-x86_64 smp --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
1724
# TODO: this should build tests with "-charm-shared". See #2735 on why this is not done currently.
1825
- name: test
1926
run: make -C mpi-linux-x86_64-smp/tmp test TESTOPTS="+setcpuaffinity"

.github/workflows/multicore_darwin.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: install-prerequisites
14-
run: brew install autoconf automake libtool
13+
- name: Set up CMake 3
14+
run: |
15+
python3 -m pip install --user 'cmake<4'
16+
python3 - <<'PYCM' >> "$GITHUB_PATH"
17+
import site
18+
print(site.USER_BASE + '/bin')
19+
PYCM
1520
- name: build
16-
run: ./buildold LIBS multicore-darwin-x86_64 -g -j3 --with-production --enable-tracing
21+
run: ./build LIBS multicore-darwin-x86_64 -g -j3 --with-production --enable-tracing
1722
- name: test
1823
run: |
1924
make -C multicore-darwin-x86_64/tmp all-test -j3 OPTS="-g -tracemode projections"

.github/workflows/namd.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,22 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
- name: Set up CMake 3
12+
run: |
13+
python3 -m pip install --user 'cmake<4'
14+
python3 - <<'PYCM' >> "$GITHUB_PATH"
15+
import site
16+
print(site.USER_BASE + '/bin')
17+
PYCM
1118
- name: install-prerequisites
1219
run: |
1320
sudo apt-get update
1421
sudo apt-get -y install sfftw-dev
1522
# test build without Fortran support
1623
sudo apt-get -y remove gfortran
1724
- name: build-charm++
18-
run: ./buildold LIBS netlrts-linux-x86_64 -g -j4 --with-production
25+
run: ./build LIBS netlrts-linux-x86_64 -g -j4 --with-production
1926
- name: build-namd
2027
run: |
2128
cd ..

.github/workflows/netlrts_darwin.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ jobs:
66
build:
77
timeout-minutes: 60
88

9-
runs-on: macos-latest
9+
runs-on: macos-15-intel
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
13+
- name: Set up CMake 3
14+
run: |
15+
python3 -m pip install --user 'cmake<4'
16+
python3 - <<'PYCM' >> "$GITHUB_PATH"
17+
import site
18+
print(site.USER_BASE + '/bin')
19+
PYCM
1320
- name: build
14-
run: ./buildold all-test netlrts-darwin-x86_64 --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
21+
run: ./build all-test netlrts-darwin-x86_64 --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
1522
# TODO: this should build tests with "-charm-shared". See #2735 on why this is not done currently.
1623
- name: test
1724
run: make -C netlrts-darwin-x86_64/tmp test TESTOPTS="++local"

.github/workflows/netlrts_linux_i386.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
13+
- name: Set up CMake 3
14+
run: |
15+
python3 -m pip install --user 'cmake<4'
16+
python3 - <<'PYCM' >> "$GITHUB_PATH"
17+
import site
18+
print(site.USER_BASE + '/bin')
19+
PYCM
1320
- name: install-prerequisites
1421
run: |
1522
sudo dpkg --add-architecture i386
1623
sudo apt-get update
1724
sudo apt-get install -y gcc-multilib g++-multilib gfortran-multilib zlib1g-dev:i386 libjpeg-dev:i386
1825
- name: build
19-
run: ./buildold all-test netlrts-linux-i386 --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
26+
run: ./build all-test netlrts-linux-i386 --build-shared --with-production --enable-error-checking --enable-lbuserdata -j3 -g -Werror=vla
2027
# TODO: this should build tests with "-charm-shared". See #2735 on why this is not done currently.
2128
- name: test
2229
run: make -C netlrts-linux-i386/tmp test TESTOPTS="++local"

0 commit comments

Comments
 (0)