-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1345 from ndellingwood/release-3.6.00
Release 3.6.00
- Loading branch information
Showing
801 changed files
with
148,219 additions
and
122,835 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,36 @@ | ||
name: github-FORMAT | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
clang-format-check: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Dependencies | ||
run: sudo apt install clang-format-8 | ||
|
||
- name: check | ||
run: | | ||
# Fetch from the default remote (origin) | ||
git fetch &> /dev/null | ||
# For every file changed, apply clang-format | ||
for file in $(git diff --name-only origin/$GITHUB_BASE_REF | egrep '.*\.cpp$|.*\.hpp$|.*\.h$'); do | ||
if [ -e $file ]; then | ||
clang-format-8 -i -style=file $file | ||
git add $file | ||
fi | ||
done | ||
# If any diffs exist, error out | ||
if [[ ! -z $(git status -s -uno . -- ':!.github') ]]; then | ||
echo "The following files require formatting changes:" | ||
git status -s -uno . -- ':!.github' | ||
exit 1 | ||
fi |
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,86 @@ | ||
name: github-OSX | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
osxci: | ||
name: osx-ci | ||
runs-on: [macos-latest] | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
- backend: "SERIAL" | ||
cmake_build_type: "RelWithDebInfo" | ||
- backend: "THREADS" | ||
cmake_build_type: "RelWithDebInfo" | ||
- backend: "SERIAL" | ||
cmake_build_type: "Debug" | ||
- backend: "SERIAL" | ||
cmake_build_type: "Release" | ||
|
||
steps: | ||
- name: checkout_kokkos_kernels | ||
uses: actions/checkout@v2 | ||
with: | ||
path: kokkos-kernels | ||
|
||
- name: checkout_kokkos | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: kokkos/kokkos | ||
ref: ${{ github.base_ref }} | ||
path: kokkos | ||
|
||
- name: configure_kokkos | ||
run: | | ||
ls -lat | ||
mkdir -p kokkos/{build,install} | ||
cd kokkos/build | ||
cmake \ | ||
-DKokkos_ENABLE_${{ matrix.backend }}=ON \ | ||
-DCMAKE_CXX_FLAGS="-Werror" \ | ||
-DCMAKE_CXX_STANDARD=14 \ | ||
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \ | ||
-DKokkos_ENABLE_DEPRECATED_CODE_3=OFF \ | ||
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \ | ||
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | ||
.. | ||
- name: build_and_install_kokkos | ||
working-directory: kokkos/build | ||
run: make -j2 install | ||
|
||
- name: configure_kokkos_kernels | ||
run: | | ||
ls -lat | ||
mkdir -p kokkos-kernels/{build,install} | ||
cd kokkos-kernels/build | ||
cmake \ | ||
-DKokkos_DIR=$PWD/../../kokkos/install/lib/cmake/Kokkos \ | ||
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \ | ||
-DCMAKE_CXX_FLAGS="-Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wignored-qualifiers -Wempty-body -Wuninitialized" \ | ||
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | ||
-DKokkosKernels_ENABLE_TESTS=ON \ | ||
-DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ | ||
-DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ | ||
-DKokkosKernels_INST_DOUBLE=ON \ | ||
-DKokkosKernels_INST_COMPLEX_FLOAT=ON \ | ||
-DKokkosKernels_INST_FLOAT=ON \ | ||
-DKokkosKernels_INST_LAYOUTLEFT:BOOL=ON \ | ||
-DKokkosKernels_INST_LAYOUTRIGHT:BOOL=ON \ | ||
-DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ | ||
-DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ | ||
.. | ||
- name: build_kokkos_kernels | ||
working-directory: kokkos-kernels/build | ||
run: make -j2 | ||
|
||
- name: test | ||
working-directory: kokkos-kernels/build | ||
run: ctest -j2 --output-on-failure |
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
Oops, something went wrong.