Added installation of clang compiler and option to use it

This commit is contained in:
Andrea Bondavalli 2020-02-02 07:10:32 -08:00
parent f8b535252a
commit 52e8868b5e
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@
# Tested on Ubuntu 18.04 # Tested on Ubuntu 18.04
# #
#export CC=/usr/bin/clang
#export CXX=/usr/bin/clang++
cd 3rdparty cd 3rdparty
if [ ! -d ravenna-alsa-lkm.git ]; then if [ ! -d ravenna-alsa-lkm.git ]; then
git clone https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm.git git clone https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm.git
@ -13,6 +16,7 @@ if [ ! -d ravenna-alsa-lkm.git ]; then
git apply ../../patches/ravenna-alsa-lkm-kernel-v5.patch git apply ../../patches/ravenna-alsa-lkm-kernel-v5.patch
git apply ../../patches/ravenna-alsa-lkm-enable-loopback.patch git apply ../../patches/ravenna-alsa-lkm-enable-loopback.patch
git apply ../../patches/ravenna-alsa-lkm-fixes.patch git apply ../../patches/ravenna-alsa-lkm-fixes.patch
#git apply ../../patches/ravenna-alsa-lkm-arm.patch
echo "Building ravenna-alsa-lkm kernel module ..." echo "Building ravenna-alsa-lkm kernel module ..."
make make
cd ../.. cd ../..

View File

@ -4,7 +4,9 @@
# #
sudo apt update sudo apt update
sudo apt-get install -y psmisc
sudo apt-get install -y build-essential sudo apt-get install -y build-essential
sudo apt-get install -y clang
sudo apt-get install -y git sudo apt-get install -y git
sudo apt-get install -y cmake sudo apt-get install -y cmake
sudo apt-get install -y npm sudo apt-get install -y npm