Files
compute-runtime/scripts/prepare-arch-igc-ppa.sh
Artur Harasimiuk 40146291ad Update copyright headers
Updating files modified in 2018 only. Older files remain with old style
copyright header

Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00

29 lines
695 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
IGC_VER=18.33.809-1
cd /root
install_libs() {
wget https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl/+files/$1
ar -x $1
tar -xJf data.tar.xz
rm -f data.tar.xz $1
}
install_libs intel-opencl-clang_4.0.15-1~ppa1~bionic1_amd64.deb
install_libs intel-igc-core_${IGC_VER}~ppa1~bionic1_amd64.deb
install_libs intel-igc-opencl-dev_${IGC_VER}~ppa1~bionic1_amd64.deb
install_libs intel-igc-opencl_${IGC_VER}~ppa1~bionic1_amd64.deb
cp -ar usr /
ln -sf /usr/lib/x86_64-linux-gnu/*.so /usr/lib64
ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/*.pc /usr/lib64/pkgconfig
mkdir /root/build