Skip to content

Commit 07123cb

Browse files
committed
CI/add ze compile sanity check github action
may merge with ROCM sanity check at some point Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 02bc0c5 commit 07123cb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/compile-ze.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: OneAPI ZE
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
compile-ze:
7+
runs-on: ubuntu-22.04
8+
steps:
9+
- name: Install dependencies
10+
run: |
11+
sudo apt update
12+
sudo apt install -y --no-install-recommends wget lsb-core software-properties-common gpg curl cmake git
13+
- name: Build OneAPI ZE
14+
run: |
15+
git clone https://github.com/oneapi-src/level-zero.git
16+
cd level-zero
17+
mkdir build
18+
cd build
19+
cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/ze
20+
sudo make -j install
21+
- uses: actions/checkout@v3
22+
with:
23+
submodules: recursive
24+
- name: Build Open MPI
25+
run: |
26+
./autogen.pl
27+
#
28+
# we have to disable romio as its old ze stuff doesn't compile with supported ZE API
29+
#
30+
./configure --prefix=${PWD}/install --disable-mpi-fortran --disable-io-romio --disable-oshmem --with-ze
31+
make -j

0 commit comments

Comments
 (0)