Skip to content

Commit e8b22d3

Browse files
committed
update script
1 parent e28257d commit e8b22d3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ jobs:
4646
run: |
4747
cmake --build build --target gc-check
4848
49+
50+
- name: Build and install benchgc
51+
working-directory: build
52+
run: |
53+
ninja benchgc
54+
pip uninstall -y benchgc || true
55+
pip install test/benchgc/dist/benchgc-*.whl
56+
4957
- name: Correctness Test
5058
run: |
5159
scripts/correctness.sh

scripts/correctness.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
#! /bin/bash
22

3-
pip uninstall -y benchgc || true
4-
pip install build/test/benchgc/dist/benchgc-*.whl
53

64
# need to import tools as a package
75
export PYTHONPATH=$(pwd)
86
export MLIR_RUNNER_UTILS=${MLIR_DIR}/../../libmlir_runner_utils.so
97
export MLIR_C_RUNNER_UTILS=${MLIR_DIR}/../../libmlir_c_runner_utils.so
10-
export LD_PRELOAD=/lib/x86_64-linux-gnu/libomp.so.5
8+
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgomp.so.1
119

1210
python3 -m benchgc --verbose 0 --driver linalg --case matmul_transpose_b -i 1024x512xf32:D -i 1024x512xf32:D -o 1024x1024xf32:D --cast cast_signed

0 commit comments

Comments
 (0)