fix(openblas)

closes #4056
This commit is contained in:
Jacob Heider 2023-11-13 11:19:37 -05:00 committed by Jacob Heider
parent 9158d2565e
commit bd209587c6

View file

@ -6,18 +6,13 @@ versions:
github: xianyi/OpenBLAS/releases/tags github: xianyi/OpenBLAS/releases/tags
strip: /^v/ strip: /^v/
platforms:
- linux
- darwin/aarch64
# FIXME: illegal instruction on darwin/x86-64
build: build:
dependencies: dependencies:
cmake.org: '*' cmake.org: '*'
working-directory: build working-directory: build
script: script:
- cmake .. -DCMAKE_INSTALL_PREFIX="{{prefix}}" -DCMAKE_BUILD_TYPE=Release - cmake .. $ARGS
- make --jobs {{ hw.concurrency }} $ARGS - make --jobs {{ hw.concurrency }}
- make install - make install
## removing a redundant directory with a duplicate file ## removing a redundant directory with a duplicate file
@ -28,12 +23,15 @@ build:
rmdir openblas rmdir openblas
ln -s . openblas ln -s . openblas
working-directory: ${{prefix}}/include working-directory: ${{prefix}}/include
# FIXME: illegal instruction on darwin/x86-64 env:
# line 25: 2290 Illegal instruction: 4 ./a.out ARGS:
# env: - -DCMAKE_INSTALL_PREFIX="{{prefix}}"
# darwin/x86-64: - -DCMAKE_BUILD_TYPE=Release
# ARGS: - -DCMAKE_C_FLAGS="-fPIC"
# - TARGET=CORE2 - -DCMAKE_CXX_FLAGS="-fPIC"
x86-64:
ARGS:
- -DDYNAMIC_ARCH=ON
test: test:
fixture: | fixture: |