diff options
author | Andrzej Janik <[email protected]> | 2021-02-20 22:45:50 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-02-20 22:45:50 +0100 |
commit | a6edbdafc10207f27a2937a03256c4c63212de28 (patch) | |
tree | c966557875df05d4af423c7e6d850575dffc512d | |
parent | 36514bd6ebcc22fde93e1fc52b3e336da0683bfb (diff) | |
download | ZLUDA-a6edbdafc10207f27a2937a03256c4c63212de28.tar.gz ZLUDA-a6edbdafc10207f27a2937a03256c4c63212de28.zip |
Use GPU drivers from official repo
-rw-r--r-- | .github/workflows/rust.yml | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 435d25f..1ffa10f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -25,28 +25,13 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Install intel compute runtime + - name: Install GPU drivers run: | - mkdir neo - cd neo - wget https://github.com/intel/compute-runtime/releases/download/20.51.18762/intel-gmmlib_20.3.2_amd64.deb - wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.5884/intel-igc-core_1.0.5884_amd64.deb - wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.5884/intel-igc-opencl_1.0.5884_amd64.deb - wget https://github.com/intel/compute-runtime/releases/download/20.51.18762/intel-opencl_20.51.18762_amd64.deb - wget https://github.com/intel/compute-runtime/releases/download/20.51.18762/intel-ocloc_20.51.18762_amd64.deb - wget https://github.com/intel/compute-runtime/releases/download/20.51.18762/intel-level-zero-gpu_1.0.18762_amd64.deb - - wget https://github.com/intel/compute-runtime/releases/download/20.51.18762/ww51.sum - sha256sum -c ww51.sum - - wget https://github.com/oneapi-src/level-zero/releases/download/v1.0.22/level-zero-devel_1.0.22+u18.04_amd64.deb - wget https://github.com/oneapi-src/level-zero/releases/download/v1.0.22/level-zero_1.0.22+u18.04_amd64.deb - wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.5884/intel-igc-opencl-devel_1.0.5884_amd64.deb - - sudo dpkg -i *.deb - - sudo apt update - sudo apt install ocl-icd-opencl-dev + sudo apt-get install -y gpg-agent wget + wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - + sudo apt-add-repository 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' + sudo apt-get update sudo apt-get install intel-opencl-icd intel-level-zero-gpu level-zero intel-media-va-driver-non-free libmfx1 + sudo apt-get install libigc-dev intel-igc-cm libigdfcl-dev libigfxcmrt-dev level-zero-dev - name: Build run: cargo build --workspace --verbose # TODO(take-cheeze): Support testing |