Page MenuHomePhorge

build.sh
No OneTemporary

Size
381 B
Referenced Files
None
Subscribers
None

build.sh

#! /bin/bash
set -e
PLATFORM=${1:-linux}
# JOBS = NCores - 1
JOBS=${2:-$(($(nproc)-1))}
echo "Building Echo3 for ${PLATFORM}"
BUILD_DIR="build-${PLATFORM}"
echo Running cmakeplatform ${PLATFORM}
./cmakeplatform ${PLATFORM}
cd ${BUILD_DIR}
echo
echo
echo "Running make... (${JOBS} parallel jobs)"
if [ -e "Makefile" ] ; then
make -j${JOBS}
else
ninja -j${JOBS}
fi
echo
echo

File Metadata

Mime Type
text/x-shellscript
Expires
Thu, Jan 16, 2:33 AM (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71884
Default Alt Text
build.sh (381 B)

Event Timeline