Skip to content

Commit

Permalink
fix opencl ci: toolchain versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Jun 25, 2023
1 parent b28cae6 commit c3cce51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions scripts/install_llvm_spirv.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

if [[ -z "${LLVM_VERSION}" ]]; then
LLVM_VERSION="15"
echo "set LLVM_VERSION from env"
LLVM_VERSION="14"
else
LLVM_VERSION="${LLVM_VERSION}"
echo "set LLVM_VERSION from env"
fi

if [[ -z "${LLVM_SPV_VERSION}" ]]; then
LLVM_SPV_VERSION="v15.0.0"
echo "set LLVM_SPV_VERSION from env"
LLVM_SPV_VERSION="v14.0.0"
else
LLVM_SPV_VERSION="${LLVM_SPV_VERSION}"
echo "set LLVM_SPV_VERSION from env"
fi

echo "using LLVM_VERSION=${LLVM_VERSION}"
Expand Down
8 changes: 4 additions & 4 deletions scripts/install_pocl.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

if [[ -z "${LLVM_VERSION}" ]]; then
LLVM_VERSION="15"
echo "set LLVM_VERSION from env"
LLVM_VERSION="14"
else
LLVM_VERSION="${LLVM_VERSION}"
echo "set LLVM_VERSION from env"
fi

if [[ -z "${POCL_VERSION}" ]]; then
POCL_VERSION="v4.0"
echo "set POCL_VERSION from env"
POCL_VERSION="v3.1"
else
POCL_VERSION="${POCL_VERSION}"
echo "set POCL_VERSION from env"
fi

echo "using LLVM_VERSION=${LLVM_VERSION}"
Expand Down

0 comments on commit c3cce51

Please sign in to comment.