Fix the build_type for stage0

This commit is contained in:
Sameer Rahmani 2023-04-20 13:40:52 +01:00
parent 3b78d04dee
commit 731116026f
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
2 changed files with 2 additions and 29 deletions

29
builder
View File

@ -74,7 +74,7 @@ function _create() {
_conan create --user "$user" --channel "$channel" \
--profile:host="../../profiles/stage$1" \
--profile:build="../../profiles/stage$1" \
. "${@:2}"
"${@:2}" .
}
function _build() {
@ -105,33 +105,6 @@ function llvm-source() { ## Build the llvm source pkg
_pop
}
function cmake() { ## Build the cmake package
_push "packages/cmake/"
_create "$@"
_pop
}
function gcc() { ## Build the gcc package
_push "packages/gcc/"
_create "$@"
_pop
}
function ninja() { ## Build the gcc package
_build ninja "$@"
}
function zlib() { ## Build the zlib package
_build zlib "$@"
}
function zstd() { ## Build the zstd package
_build zstd "$@"
}
function clang-bootstrap() { ## Build the gcc package
_build clang-bootstrap "$@"
}
function help() { ## Print out this help message
echo "Commands:"

View File

@ -3,7 +3,7 @@ include(common)
[settings]
os=Linux
arch=x86_64
build_type=Release
build_type=RelWithDebInfo
compiler=gcc
compiler.version=12.2