Update 2023-04-30 14:17 OpenBSD/amd64-x13
This commit is contained in:
parent
d7840bc511
commit
e827e6cb8f
@ -3,18 +3,19 @@ umask 022
|
||||
|
||||
JOBS="${JOBS:=$(sysctl -n hw.ncpuonline)}"
|
||||
|
||||
# export CCACHE_DIR="/var/ccache"
|
||||
# export CCACHE_SLOPPINESS="locale,time_macros,random_seed"
|
||||
#
|
||||
# # base llvm?
|
||||
# export LLVM_CCACHE_BUILD=1
|
||||
# export LLVM_CCACHE_DIR="/var/ccache"
|
||||
# export CMAKE_CXX_COMPILER_LAUNCHER="ccache"
|
||||
# export CMAKE_C_COMPILER_LAUNCHER="ccache"
|
||||
#
|
||||
# FLAGS="-fno-stack-protector -fno-ret-protector -mno-retpoline -march=native"
|
||||
# export CC="/opt/ccache/bin/cc $FLAGS"
|
||||
# export CXX="/opt/ccache/bin/c++ $FLAGS"
|
||||
export GLOBAL_AUTOCONF_CACHE="/var/ccache/config.cache"
|
||||
export CCACHE_DIR="/var/ccache"
|
||||
export CCACHE_SLOPPINESS="locale,time_macros,random_seed"
|
||||
|
||||
# base llvm?
|
||||
export LLVM_CCACHE_BUILD=1
|
||||
export LLVM_CCACHE_DIR="/var/ccache"
|
||||
export CMAKE_CXX_COMPILER_LAUNCHER="ccache"
|
||||
export CMAKE_C_COMPILER_LAUNCHER="ccache"
|
||||
|
||||
FLAGS="-fno-stack-protector -fno-ret-protector -mno-retpoline -march=native -msse2 -msse -m3dnow -mmmx -O2 -pipe"
|
||||
export CC="/opt/ccache/bin/cc $FLAGS"
|
||||
export CXX="/opt/ccache/bin/c++ $FLAGS"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: ${0} [kernel, base, xenocara, release, all] [clean]"
|
||||
|
Loading…
Reference in New Issue
Block a user