aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-09-23 16:33:46 +0200
committerGitHub <[email protected]>2024-09-23 16:33:46 +0200
commitc92abba2bb884a4dba8ca5e3df4d46a30878f27e (patch)
tree89bab98e3071aedd12f755bfde8a7c7382138ed7 /.github/workflows/rust.yml
parent46def3e7e09dbf4d3e7287a72bfecb73e6e429c5 (diff)
downloadZLUDA-c92abba2bb884a4dba8ca5e3df4d46a30878f27e.tar.gz
ZLUDA-c92abba2bb884a4dba8ca5e3df4d46a30878f27e.zip
Refactor compilation passes (#270)
The overarching goal is to refactor all passes so they are module-scoped and not function-scoped. Additionally, make improvements to the most egregiously buggy/unfit passes (so the code is ready for the next major features: linking, ftz handling) and continue adding more code to the LLVM backend
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml60
1 files changed, 0 insertions, 60 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
deleted file mode 100644
index 26ede14..0000000
--- a/.github/workflows/rust.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-name: Rust
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
-env:
- CARGO_TERM_COLOR: always
-
-jobs:
- build_lin:
- name: Build and publish (Linux)
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Install GPU drivers
- run: |
- 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 libigc-dev intel-igc-cm libigdfcl-dev libigfxcmrt-dev level-zero-dev ocl-icd-opencl-dev
- - name: Build
- run: cargo build --workspace --verbose --release
- - name: Rename to libcuda.so
- run: |
- mv target/release/libnvcuda.so target/release/libcuda.so
- ln -s libcuda.so target/release/libcuda.so.1
- - uses: actions/upload-artifact@v2
- with:
- name: Linux
- path: |
- target/release/libcuda.so
- target/release/libcuda.so.1
- target/release/libnvml.so
- build_win:
- name: Build and publish (Windows)
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Build
- run: cargo build --workspace --verbose --release
- - uses: actions/upload-artifact@v2
- with:
- name: Windows
- path: |
- target/release/nvcuda.dll
- target/release/nvml.dll
- target/release/zluda_redirect.dll
- target/release/zluda_with.exe
- target/release/zluda_dump.dll
- # TODO(take-cheeze): Support testing
- # - name: Run tests
- # run: cargo test --verbose