ci: switch to intel-opencl ppa

This ppa is available at:
https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/72

Change-Id: I8ab4f8881d882f399386e875125c20542d5b72ab
This commit is contained in:
Jacek Danecki
2018-07-31 16:36:11 +02:00
committed by sys_ocldev
parent 601caa8b27
commit 97b215440a
11 changed files with 26 additions and 24 deletions

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \ RUN echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-4.0 apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-4.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \ RUN echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-5.0 apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-5.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \ RUN echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -4,8 +4,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-4.0 apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-4.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -4,8 +4,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-5.0 apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-5.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -4,8 +4,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-6.0 apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-6.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-6 git pkg-config ninja-build intel-igc-opencl-dev apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-6 git pkg-config ninja-build intel-igc-opencl-dev
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-7 git pkg-config ninja-build intel-igc-opencl-dev apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-7 git pkg-config ninja-build intel-igc-opencl-dev
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -3,8 +3,8 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \ RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \

View File

@@ -26,8 +26,8 @@ wait_apt() {
sleep 5 sleep 5
done done
} }
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list echo "deb http://ppa.launchpad.net/intel-opencl/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F
apt-get -y update apt-get -y update
if [ $? -ne 0 ] if [ $? -ne 0 ]

View File

@@ -19,20 +19,22 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE. # OTHER DEALINGS IN THE SOFTWARE.
IGC_VER=18.30.707-2
cd /root cd /root
mkdir /root/igc mkdir /root/igc
install_libs() { install_libs() {
wget https://launchpad.net/~jdanecki/+archive/ubuntu/intel-opencl/+files/$1 wget https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl/+files/$1
ar -x $1 ar -x $1
tar -xJf data.tar.xz tar -xJf data.tar.xz
rm -f data.tar.xz $1 rm -f data.tar.xz $1
} }
install_libs intel-opencl-clang_4.0.15-1~ppa1~bionic1_amd64.deb install_libs intel-opencl-clang_4.0.15-1~ppa1~bionic1_amd64.deb
install_libs intel-igc-core_18.30.707-2~ppa1~bionic1_amd64.deb install_libs intel-igc-core_${IGC_VER}~ppa1~bionic1_amd64.deb
install_libs intel-igc-opencl-dev_18.30.707-2~ppa1~bionic1_amd64.deb install_libs intel-igc-opencl-dev_${IGC_VER}~ppa1~bionic1_amd64.deb
install_libs intel-igc-opencl_18.30.707-2~ppa1~bionic1_amd64.deb install_libs intel-igc-opencl_${IGC_VER}~ppa1~bionic1_amd64.deb
cp -ar usr / cp -ar usr /
ln -sf /usr/lib/x86_64-linux-gnu/*.so /usr/lib64 ln -sf /usr/lib/x86_64-linux-gnu/*.so /usr/lib64