Files
compute-runtime/scripts/prepare-arch-aur-gcc-8.sh
Jacek Danecki a0eb780e2a Build Neo components on Arch
- Build Arch Aur packages (opencl-clang, igc) and then build Neo
- Build opencl-clang, igc without packaging and then build Neo
- Limit number of make jobs to 1 for IGC build

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

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

Change-Id: I7af5ea10fd76fe6906c87d895d7d92853386e2f5
2019-03-27 17:17:39 +01:00

22 lines
541 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set -e
set -x
pacman -Sy --noconfirm gcc cmake git make wget pkg-config fakeroot ninja sudo \
perl-io-string perl-test-pod autoconf automake patch llvm clang \
intel-gmmlib nettle gnutls p7zip python-nose python2 bison flex
useradd -m build -g wheel
sed -i "s/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers
cp -a /root/*.sh /home/build
su -l build /home/build/build-arch-dep.sh
mkdir /root/build