2023-05-17 20:20:53 -07:00
|
|
|
#! /bin/bash
|
2023-06-15 15:39:14 -07:00
|
|
|
|
2023-11-20 16:40:07 -08:00
|
|
|
set -e
|
|
|
|
|
2023-06-15 15:39:14 -07:00
|
|
|
CWD="$(pwd)"
|
|
|
|
BIN=$CWD/toolchain/local/bin
|
|
|
|
GCC=$BIN/x86_64-pc-acadia-gcc
|
|
|
|
AR=$BIN/x86_64-pc-acadia-ar
|
2023-11-16 20:13:31 -08:00
|
|
|
SYSROOT=$CWD/sysroot
|
|
|
|
cmake -B builddbg/ -G Ninja -D CMAKE_CXX_COMPILER=${GCC} -D CMAKE_ASM-ATT_COMPILER=${GCC} -D CMAKE_AR=${AR} -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=${SYSROOT}
|
2023-11-20 16:40:07 -08:00
|
|
|
|
|
|
|
pushd yunq
|
|
|
|
virtualenv venv
|
|
|
|
source venv/bin/activate
|
|
|
|
pip install -r requirements.txt
|
|
|
|
deactivate
|
|
|
|
popd
|
|
|
|
|
|
|
|
echo "Set up environment properly."
|