Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uditagarwal97 committed Mar 4, 2024
1 parent f7c1fa5 commit e7e93e4
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions .github/workflows/sycl-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,32 +171,29 @@ jobs:
id: build
run: |
cmake --build $GITHUB_WORKSPACE/build
#- name: check-llvm
#if: always() && !cancelled() && contains(inputs.changes, 'llvm')
#run: |
#cmake --build $GITHUB_WORKSPACE/build --target check-llvm
#- name: check-clang
#if: always() && !cancelled() && contains(inputs.changes, 'clang')
#run: |
# Can we move this to Dockerfile? Hopefully, noop on Windows.
#export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
#cmake --build $GITHUB_WORKSPACE/build --target check-clang
#- name: check-sycl
#if: always() && !cancelled() && contains(inputs.changes, 'sycl')
#run: |
# TODO consider moving this to Dockerfile.
#export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# cmake --build $GITHUB_WORKSPACE/build --target check-sycl
# - name: check-llvm
# if: always() && !cancelled() && contains(inputs.changes, 'llvm')
# run: |
# cmake --build $GITHUB_WORKSPACE/build --target check-llvm
# - name: check-clang
# if: always() && !cancelled() && contains(inputs.changes, 'clang')
# run: |
# Can we move this to Dockerfile? Hopefully, noop on Windows.
# export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
# cmake --build $GITHUB_WORKSPACE/build --target check-clang
# - name: check-sycl
# if: always() && !cancelled() && contains(inputs.changes, 'sycl')
# run: |
# TODO consider moving this to Dockerfile.
# export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# cmake --build $GITHUB_WORKSPACE/build --target check-sycl
- name: check-sycl-unittests
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
run: |
# TODO consider moving this to Dockerfile.
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export PATH=$GITHUB_WORKSPACE/build/bin:$PATH
# TODO consider moving this to Dockerfile.
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build/lib:$LD_LIBRARY_PATH
echo $PATH
echo $LD_LIBRARY_PATH
ldd $(which sycl-ls)
export PATH=$GITHUB_WORKSPACE/build/bin:$PATH
cmake --build $GITHUB_WORKSPACE/build --target check-sycl-unittests
- name: check-llvm-spirv
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
Expand Down

0 comments on commit e7e93e4

Please sign in to comment.