Skip to content

Commit

Permalink
Merge pull request #12507 from hppritcha/ga_compile_ze
Browse files Browse the repository at this point in the history
CI/add ze compile sanity check github action
  • Loading branch information
bosilca authored May 1, 2024
2 parents bf2068a + 07123cb commit 2bc506b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/compile-ze.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: OneAPI ZE

on: [pull_request]

jobs:
compile-ze:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends wget lsb-core software-properties-common gpg curl cmake git
- name: Build OneAPI ZE
run: |
git clone https://github.com/oneapi-src/level-zero.git
cd level-zero
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/ze
sudo make -j install
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Open MPI
run: |
./autogen.pl
#
# we have to disable romio as its old ze stuff doesn't compile with supported ZE API
#
./configure --prefix=${PWD}/install --disable-mpi-fortran --disable-io-romio --disable-oshmem --with-ze
make -j

0 comments on commit 2bc506b

Please sign in to comment.