Skip to content

Commit

Permalink
[ci] Install PoCL in Docker for old Ubuntu 14.04 (#5286)
Browse files Browse the repository at this point in the history
* Install PoCL in Docker for old Ubuntu 14.04

* Update .vsts-ci.yml

* Try with Clang

* switch back to gcc

* Switch from dev container to stable one
  • Loading branch information
StrikerRUS authored Jun 19, 2022
1 parent e08cffb commit 7f43767
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ else # Linux
if [[ $IN_UBUNTU_LATEST_CONTAINER == "true" ]]; then
sudo apt-get install --no-install-recommends -y \
pocl-opencl-icd
else
sudo apt-get install --no-install-recommends -y \
libhwloc-dev \
libtinfo-dev \
ocl-icd-dev \
pkg-config \
zlib1g-dev
git clone --depth 1 --branch v1.8 https://github.com/pocl/pocl.git
cmake -B pocl/build -S pocl -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DPOCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors -DPOCL_DEBUG_MESSAGES=OFF -DSTATIC_LLVM=ON -DINSTALL_OPENCL_HEADERS=OFF -DENABLE_SPIR=OFF -DENABLE_POCLCC=OFF -DENABLE_TESTS=OFF -DENABLE_EXAMPLES=OFF
cmake --build pocl/build -j4
sudo cmake --install pocl/build
fi
fi
if [[ $TASK == "cuda" || $TASK == "cuda_exp" ]]; then
Expand Down

0 comments on commit 7f43767

Please sign in to comment.