Update 2024-01-02 10:23 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-01-02 10:23:08 +01:00
parent 876f5f7b7d
commit ca9c09d71e
3 changed files with 7 additions and 11 deletions

View File

@ -16,13 +16,8 @@ export CCACHE_NOHASHDIR=
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
export CMAKE_C_COMPILER_LAUNCHER=ccache
if [ ! -z $INSECURE_PERF_FLAGS ]
then
FLAGS="-fno-stack-protector -fno-ret-protector -mno-retpoline -march=native"
fi
export CC="/opt/ccache/bin/cc $FLAGS"
export CXX="/opt/ccache/bin/c++ $FLAGS"
export CC="/opt/ccache/bin/cc $EXTRAFLAGS"
export CXX="/opt/ccache/bin/c++ $EXTRAFLAGS"
if [ -z "$1" ]; then
echo "Usage: ${0} [kernel, base, xenocara, release, all] [clean]"

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.ksh/localstuff.ksh

View File

@ -47,7 +47,6 @@ alias port-modcargo-gen-crates="_portmodcargo_gen"
alias port-modcargo-gen-licenses="_portmodcargo_genlic"
alias port-modgo-gen-modules="_portmodgoupdate"
# source control
alias port-diff="_portgendiff"
alias cvs-update="_cvsupdate"
@ -161,14 +160,15 @@ _portmodgoupdate() { make MODGO_VERSION=latest modgo-gen-modules; }
_portmodcargo_gen() { make modcargo-gen-crates; }
_portmodcargo_genlic() { make modcargo-gen-crates-licenses; }
_dpbmake() {
_dpbmake() {(
set -xe
doas chroot /home/dpb /tmp/installdeps.sh $1
doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c -I $1
}
)}
_prootrebuild() {
doas proot -c /etc/proot.conf
doas chroot /home/dpb pkg_add -Dsnap ccache
doas chroot /home/dpb pkg_add -Dsnap ccache gmake cmake meson ninja go rust
{
echo '#!/bin/sh -ex'
echo 'cd /usr/ports/$1'