Files
compute-runtime/scripts/prepare-arch-gcc-5.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

18 lines
529 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
pacman -Sy --noconfirm gcc54 cmake git make wget pkg-config fakeroot ninja sudo \
perl-io-string perl-test-pod autoconf automake patch
ln -s /usr/bin/gcc-5 /usr/bin/gcc
ln -s /usr/bin/g++-5 /usr/bin/g++
useradd -m build -g wheel
sed -i "s/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers
sed -i "s/ -fno-plt//g" /etc/makepkg.conf
cp -a /root/*.sh /home/build
su -l build /home/build/build-arch-dep.sh