-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12507 from hppritcha/ga_compile_ze
CI/add ze compile sanity check github action
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |