From 53f8a77a8c8012ce27e1d5739e1ecd7a01a1b424 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sat, 18 May 2024 13:43:42 +0300 Subject: [PATCH] CI: clean the codspeed action yml --- .github/workflows/codspeed-bench.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codspeed-bench.yml b/.github/workflows/codspeed-bench.yml index 39b06e6c1e..1ef91f60d2 100644 --- a/.github/workflows/codspeed-bench.yml +++ b/.github/workflows/codspeed-bench.yml @@ -130,27 +130,12 @@ jobs: - name: Build the wrapper run: | - echo $PWD - ls -l cd benchmark/pybench export PKG_CONFIG_PATH=$PWD - echo $PWD - ls -l meson setup build --prefix=$PWD/build-install meson install -C build # - # # sanity check - ls -l build-install/lib/python3.12/site-packages/openblas_wrap/ - ldd build-install/lib/python3.12/site-packages/openblas_wrap/_flapack.cpython-312-x86_64-linux-gnu.so - # This is needed because the build-install/_flapackXXX.so file - # does not link to scipy_openblas32 - echo ">>> manually copy the .so from build -> build-install" - cp build/openblas_wrap/*.so build-install/lib/python${{matrix.pyver}}/site-packages/openblas_wrap - ldd build-install/lib/python3.12/site-packages/openblas_wrap/_flapack.cpython-312-x86_64-linux-gnu.so - echo "Inside the build/: " - ldd build/openblas_wrap/_flapack.cpython-312-x86_64-linux-gnu.so - # cd build/openblas_wrap python -c'import _flapack; print(dir(_flapack))' @@ -158,14 +143,14 @@ jobs: run: | cd benchmark/pybench export PYTHONPATH=$PWD/build-install/lib/python${{matrix.pyver}}/site-packages/ - echo "PYTHONPATH = "$PYTHONPATH - ls -l $PYTHONPATH + #echo "PYTHONPATH = "$PYTHONPATH + #ls -l $PYTHONPATH ls -l $PYTHONPATH/openblas_wrap cd $PYTHONPATH/openblas_wrap python -c'import _flapack; print(dir(_flapack))' python -c 'import openblas_wrap as o; print(f"{o.__file__ = }")' - pip install pytest-benchmark ls -l ${{ github.workspace }}/benchmark/pybench/benchmarks/ + pip install pytest-benchmark pytest ${{ github.workspace }}/benchmark/pybench/benchmarks/bench_blas.py - name: Run benchmarks