Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F123517
build.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
381 B
Referenced Files
None
Subscribers
None
build.sh
View Options
#! /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
Details
Attached
Mime Type
text/x-shellscript
Expires
Thu, Jan 16, 2:33 AM (9 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71884
Default Alt Text
build.sh (381 B)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment