Plume front arm support
#402
Sloučený
mcrosson
sloučil 7 commity z větve plume-front-arm-support
do větve master
před před 5 roky
@ -0,0 +1,11 @@
|
||||
|
||||
#!/bin/bash
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
ARCH=`arch`
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
if [ "$ARCH" == "aarch64" -o "$ARCH" == "armv7l" ] ; then
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
export PATH=/opt/local/llvm/bin:${PATH}
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
cd /app
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
RUSTFLAGS="-C linker=lld" cargo web deploy -p plume-front
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
else
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
cargo web deploy -p plume-front
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
||||
fi
|
||||
Posouzení
Good point, I'll update the script. Good point, I'll update the script.
|
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
ARCH=`arch`
|
||||
|
||||
if [ "$ARCH" == "aarch64" -o "$ARCH" == "armv7l" ] ; then
|
||||
apt-get install -y --no-install-recommends build-essential subversion ninja-build cmake
|
||||
mkdir -p /scratch/src
|
||||
cd /scratch/src
|
||||
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
|
||||
cd /scratch/src/llvm/tools
|
||||
svn co http://llvm.org/svn/llvm-project/lld/trunk lld
|
||||
#svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
|
||||
#svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
|
||||
mkdir -p /scratch/build/arm
|
||||
cd /scratch/build/arm
|
||||
if [ "$ARCH" == "aarch64" ] ; then
|
||||
cmake -G Ninja /scratch/src/llvm \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/local/llvm \
|
||||
-DLLVM_TARGETS_TO_BUILD="AArch64" \
|
||||
-DLLVM_TARGET_ARCH="AArch64"
|
||||
else
|
||||
cmake -G Ninja /scratch/src/llvm \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/local/llvm \
|
||||
-DLLVM_TARGETS_TO_BUILD="ARM" \
|
||||
-DLLVM_TARGET_ARCH="ARM"
|
||||
fi
|
||||
ninja lld
|
||||
ninja install-lld
|
||||
cd ~
|
||||
rm -rf /scratch
|
||||
fi
|
Načítá se…
Odkázat v novém úkolu
Good point, I'll update the script.
Good point, I'll update the script.