forked from OpenMathLib/OpenBLAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,686 changed files
with
142,347 additions
and
25,780 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,143 @@ | ||
--- | ||
kind: pipeline | ||
name: arm64_gcc_make | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:19.04 | ||
environment: | ||
CC: gcc | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- make QUIET_MAKE=1 $COMMON_FLAGS | ||
- make -C test $COMMON_FLAGS | ||
- make -C ctest $COMMON_FLAGS | ||
- make -C utest $COMMON_FLAGS | ||
|
||
--- | ||
kind: pipeline | ||
name: arm32_gcc_make | ||
|
||
platform: | ||
os: linux | ||
arch: arm | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:19.04 | ||
environment: | ||
CC: gcc | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV6 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- make QUIET_MAKE=1 $COMMON_FLAGS | ||
- make -C test $COMMON_FLAGS | ||
- make -C ctest $COMMON_FLAGS | ||
- make -C utest $COMMON_FLAGS | ||
|
||
--- | ||
kind: pipeline | ||
name: arm64_clang_make | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- make QUIET_MAKE=1 $COMMON_FLAGS | ||
- make -C test $COMMON_FLAGS | ||
- make -C ctest $COMMON_FLAGS | ||
- make -C utest $COMMON_FLAGS | ||
|
||
--- | ||
kind: pipeline | ||
name: arm32_clang_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV6 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest -V | ||
|
||
--- | ||
kind: pipeline | ||
name: arm64_gcc_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest -V | ||
|
||
--- | ||
kind: pipeline | ||
name: arm64_clang_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest -V |
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,78 @@ | ||
# Only the "head" branch of the OpenBLAS package is tested | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**/nightly-Homebrew-build.yml' | ||
pull_request: | ||
branches: | ||
- develop | ||
paths: | ||
- '**/nightly-Homebrew-build.yml' | ||
schedule: | ||
- cron: 45 7 * * * | ||
# This is 7:45 AM UTC daily, late at night in the USA | ||
|
||
# Since push and pull_request will still always be building and testing the `develop` branch, | ||
# it only makes sense to test if this file has been changed | ||
|
||
name: Nightly-Homebrew-Build | ||
jobs: | ||
build-OpenBLAS-with-Homebrew: | ||
runs-on: macos-latest | ||
env: | ||
HOMEBREW_DEVELOPER: "ON" | ||
HOMEBREW_DISPLAY_INSTALL_TIMES: "ON" | ||
HOMEBREW_NO_ANALYTICS: "ON" | ||
HOMEBREW_NO_AUTO_UPDATE: "ON" | ||
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON" | ||
HOMEBREW_NO_INSTALL_CLEANUP: "ON" | ||
|
||
steps: | ||
- name: Random delay for cron job | ||
run: | | ||
delay=$(( RANDOM % 600 )) | ||
printf 'Delaying for %s seconds on event %s' ${delay} "${{ github.event_name }}" | ||
sleep ${delay} | ||
if: github.event_name == 'schedule' | ||
|
||
- uses: actions/checkout@v2 | ||
# This isn't even needed, technically. Homebrew will get `develop` via git | ||
|
||
- name: Update Homebrew | ||
if: github.event_name != 'pull_request' | ||
run: brew update || true | ||
|
||
- name: Install prerequisites | ||
run: brew install --fetch-HEAD --HEAD --only-dependencies --keep-tmp openblas | ||
|
||
- name: Install and bottle OpenBLAS | ||
run: brew install --fetch-HEAD --HEAD --build-bottle --keep-tmp openblas | ||
# the HEAD flags tell Homebrew to build the develop branch fetch via git | ||
|
||
- name: Create bottle | ||
run: | | ||
brew bottle -v openblas | ||
mkdir bottles | ||
mv *.bottle.tar.gz bottles | ||
- name: Upload bottle | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: openblas--HEAD.catalina.bottle.tar.gz | ||
path: bottles | ||
|
||
- name: Show linkage | ||
run: brew linkage -v openblas | ||
|
||
- name: Test openblas | ||
run: brew test --HEAD --verbose openblas | ||
|
||
- name: Audit openblas formula | ||
run: | | ||
brew audit --strict openblas | ||
brew cat openblas | ||
- name: Post logs on failure | ||
if: failure() | ||
run: brew gist-logs --with-hostname -v openblas |
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 |
---|---|---|
|
@@ -87,4 +87,5 @@ build.* | |
*.swp | ||
benchmark/*.goto | ||
benchmark/smallscaling | ||
|
||
CMakeCache.txt | ||
CMakeFiles/* |
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.