Skip to content

Commit a35abce

Browse files
committed
updaing ci
1 parent 33b48fe commit a35abce

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Wheels
33
on:
44
push:
55
branches:
6-
- main
6+
- matmul-ufunc
77
tags:
88
- "quaddtype-v*"
99
paths:

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Numpy User DTypes CI
33
on:
44
push:
55
branches:
6-
- main
6+
- matmul-ufunc
77
pull_request:
88
workflow_dispatch:
99

@@ -61,15 +61,21 @@ jobs:
6161
sudo apt-get install -y libmpfr-dev libssl-dev libfftw3-dev
6262
- name: Install SLEEF
6363
run: |
64+
yum update -y
65+
yum install -y cmake gcc gcc-c++ make git pkgconfig
6466
git clone --branch 3.8 https://github.com/shibatch/sleef.git
6567
cd sleef
6668
cmake -S . -B build -DSLEEF_BUILD_QUAD:BOOL=ON -DSLEEF_BUILD_SHARED_LIBS:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
6769
cmake --build build/ --clean-first -j
68-
sudo cmake --install build --prefix /usr
70+
sudo cmake --install build --prefix /usr/local
6971
- name: Install quaddtype
7072
working-directory: quaddtype
7173
run: |
72-
LDFLAGS="-Wl,-rpath,/usr/lib" python -m pip install . -v --no-build-isolation -Cbuilddir=build -C'compile-args=-v' -Csetup-args="-Dbuildtype=debug"
74+
CFLAGS="-I/usr/local/include -I{project}/numpy_quaddtype/QBLAS/include $CFLAGS"
75+
CXXFLAGS="-I/usr/local/include -I{project}/numpy_quaddtype/QBLAS/include -fext-numeric-literals $CXXFLAGS"
76+
LDFLAGS="-L/usr/local/lib64 -L/usr/local/lib -Wl,-rpath,/usr/local/lib64 -Wl,-rpath,/usr/local/lib -fopenmp $LDFLAGS"
77+
LD_LIBRARY_PATH="/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH"
78+
python -m pip install . -v --no-build-isolation -Cbuilddir=build -C'compile-args=-v' -Csetup-args="-Dbuildtype=debug"
7379
- name: Run quaddtype tests
7480
working-directory: quaddtype
7581
run: |

0 commit comments

Comments
 (0)