-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'james-d-mitchell-rc-v1.0.0'
- Loading branch information
Showing
121 changed files
with
758,561 additions
and
6,195 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,106 @@ | ||
# .circleci/config.yml | ||
|
||
version: 2.1 | ||
|
||
jobs: | ||
test: | ||
parameters: | ||
compiler: | ||
type: string | ||
version: | ||
type: string | ||
docker: | ||
- image: reiniscirpons/hpcombi-env-arm64v8:v1 | ||
resource_class: arm.medium | ||
steps: | ||
- run: | ||
name: "Set up compiler" | ||
environment: | ||
COMPILER_NAME: << parameters.compiler >> | ||
COMPILER_VERSION: << parameters.version >> | ||
command: | | ||
apt-get --yes update | ||
mkdir -p workspace | ||
if [ $COMPILER_NAME = "gcc" ]; then | ||
apt-get install --yes gcc-$COMPILER_VERSION | ||
apt-get install --yes g++-$COMPILER_VERSION | ||
echo "export CC=gcc-$COMPILER_VERSION" >> workspace/new-env-vars | ||
echo "export CXX=g++-$COMPILER_VERSION" >> workspace/new-env-vars | ||
else | ||
apt-get install --yes clang++-$COMPILER_VERSION | ||
echo "export CC=clang-$COMPILER_VERSION" >> workspace/new-env-vars | ||
echo "export CXX=clang++-$COMPILER_VERSION" >> workspace/new-env-vars | ||
fi | ||
- run: | ||
name: Check compiler version | ||
command: | | ||
cat workspace/new-env-vars >> $BASH_ENV | ||
source $BASH_ENV | ||
echo "CC" | ||
echo $CC | ||
echo "CXX" | ||
echo $CXX | ||
- checkout: | ||
path: "./HPCombi" | ||
- run: | ||
name: Run cmake | ||
command: | | ||
cat workspace/new-env-vars >> $BASH_ENV | ||
source $BASH_ENV | ||
mkdir -p ./HPCombi/build | ||
cd ./HPCombi/build | ||
cmake -DBUILD_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX .. | ||
- run: | ||
name: Run make in tests folder | ||
command: | | ||
cat workspace/new-env-vars >> $BASH_ENV | ||
source $BASH_ENV | ||
cd ./HPCombi/build/tests | ||
make -j2 | ||
- run: | ||
name: Run tests | ||
command: | | ||
cat workspace/new-env-vars >> $BASH_ENV | ||
source $BASH_ENV | ||
cd ./HPCombi/build/tests | ||
./test_all | ||
workflows: | ||
test: | ||
jobs: | ||
- test: | ||
name: "test-gcc-9" | ||
compiler: "gcc" | ||
version: "9" | ||
# - test: | ||
# name: "test-gcc-10" | ||
# compiler: "gcc" | ||
# version: "10" | ||
# - test: | ||
# name: "test-gcc-11" | ||
# compiler: "gcc" | ||
# version: "11" | ||
- test: | ||
name: "test-gcc-12" | ||
compiler: "gcc" | ||
version: "12" | ||
- test: | ||
name: "test-clang-11" | ||
compiler: "clang" | ||
version: "11" | ||
# - test: | ||
# name: "test-clang-12" | ||
# compiler: "clang" | ||
# version: "12" | ||
# - test: | ||
# name: "test-clang-13" | ||
# compiler: "clang" | ||
# version: "13" | ||
# - test: | ||
# name: "test-clang-14" | ||
# compiler: "clang" | ||
# version: "14" | ||
- test: | ||
name: "test-clang-15" | ||
compiler: "clang" | ||
version: "15" |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[codespell] | ||
skip = ./third_party/simde,./.git,./benchmark/python,./experiments,./gh-pages,./build | ||
ignore-words-list=shft |
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,9 @@ | ||
name: codespell | ||
on: [pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
codespell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: codespell-project/[email protected] |
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,40 +1,67 @@ | ||
name: CI | ||
on: [pull_request, push, workflow_dispatch] | ||
on: [pull_request, workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tests: | ||
name: "ubuntu-latest | g++" | ||
name: "ubuntu-latest" | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
env: | ||
CXX: "ccache g++" | ||
CXXFLAGS: "-fdiagnostics-color" | ||
CMAKE_CXX_COMPILER: "ccache g++" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sys: | ||
- { compiler: 'gcc', version: '9'} | ||
- { compiler: 'gcc', version: '10'} | ||
- { compiler: 'gcc', version: '11'} | ||
- { compiler: 'gcc', version: '12'} | ||
- { compiler: 'clang', version: '11'} | ||
- { compiler: 'clang', version: '12'} | ||
- { compiler: 'clang', version: '13'} | ||
- { compiler: 'clang', version: '14'} | ||
- { compiler: 'clang', version: '15'} | ||
steps: | ||
- name: "Checkout HPCombi repo . . ." | ||
uses: actions/checkout@v3 | ||
- name: "Setup ccache . . ." | ||
uses: Chocobo1/setup-ccache-action@v1 | ||
with: | ||
update_packager_index: false | ||
override_cache_key: ${{ runner.os }}-${{ github.ref }} | ||
override_cache_key_fallback: ${{ runner.os }} | ||
- name: "Setup compiler . . ." | ||
if: ${{ matrix.sys.compiler == 'gcc' }} | ||
run: | | ||
GCC_VERSION=${{ matrix.sys.version }} | ||
sudo apt-get --yes update | ||
sudo apt-get install gcc-$GCC_VERSION | ||
CC=gcc-$GCC_VERSION | ||
echo "CC=$CC" >> $GITHUB_ENV | ||
CXX=g++-$GCC_VERSION | ||
echo "CXX=$CXX" >> $GITHUB_ENV | ||
- name: "Setup compiler . . ." | ||
if: ${{ matrix.sys.compiler == 'clang' }} | ||
run: | | ||
LLVM_VERSION=${{ matrix.sys.version }} | ||
sudo apt-get --yes update | ||
sudo apt-get install --yes clang++-$LLVM_VERSION | ||
CC=clang-$LLVM_VERSION | ||
echo "CC=$CC" >> $GITHUB_ENV | ||
CXX=clang++-$LLVM_VERSION | ||
echo "CXX=$CXX" >> $GITHUB_ENV | ||
- name: "Install dependencies . . ." | ||
run: | | ||
sudo apt-get --yes update | ||
sudo apt-get install --yes ccache | ||
sudo apt-get install --yes libbenchmark-dev | ||
sudo apt-get install --yes libgtest-dev | ||
sudo apt-get install --yes libboost-all-dev | ||
- name: "Build + run HPCombi tests . . ." | ||
sudo apt-get install --yes ccache | ||
- name: "Configure the HPCombi build . . ." | ||
env: | ||
CC: ${{ env.CC }} | ||
CXX: ${{ env.CXX }} | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DBUILD_TESTING=1 -DCMAKE_BUILD_TYPE=Release .. | ||
make | ||
make test | ||
mkdir build | ||
cd build | ||
cmake -DBUILD_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX .. | ||
- name: "Build HPCombi . . ." | ||
run: | | ||
cd build/tests | ||
make -j4 | ||
- name: "Run HPCombi tests . . ." | ||
run: | | ||
cd build/tests | ||
./test_all |
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 |
---|---|---|
|
@@ -36,3 +36,4 @@ | |
|
||
TAGS | ||
build* | ||
gh-pages |
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 @@ | ||
Florent Hivert <[email protected]> Florent Hivert <[email protected]> | ||
Florent Hivert <[email protected]> Florent Hivert <[email protected]> | ||
Florent Hivert <[email protected]> Florent Hivert <[email protected]> | ||
Reinis Cirpons <[email protected]> reiniscirpons <[email protected]> | ||
Reinis Cirpons <[email protected]> Reinis Cirpons <[email protected]> | ||
James Mitchell <[email protected]> James Mitchell <[email protected]> |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.