You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ $KUKSA_DATABROKERCLI_SBOM=~ ^[Yy](es)?$ ||$KUKSA_DATABROKER_SBOM=~ ^[Tt](rue)?$ ]];then
77
74
SBOM=1
@@ -91,8 +88,8 @@ echo "Building with features: $KUKSA_DATABROKERCLI_FEATURES"
91
88
# Rust target triplett (i.e. x86_64-unknown-linux-musl) and the corresponding docker
92
89
# architecture (i.e. amd64) as input
93
90
functionbuild_target() {
94
-
target_rust=$1
95
-
target_docker=$2
91
+
target=$1
92
+
platform=$2
96
93
97
94
# Need to set different target dir for different platforms, becasue cargo mixes things up
98
95
# when recycling the default target dir. When you do not do this, and e.g. first build amd64
@@ -106,20 +103,22 @@ function build_target() {
106
103
# /target/release/build/libc-2dd22ab6b5fb9fd2/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /target/release/build/libc-2dd22ab6b5fb9fd2/build-script-build)
107
104
#
108
105
# this is solved by using different target-dirs for each platform
109
-
echo"Building databroker-cli for target $target_rust"
if [[ $KUKSA_DATABROKER_SBOM=~ ^[Yy](es)?$ ||$KUKSA_DATABROKER_SBOM=~ ^[Tt](rue)?$ ]];then
80
78
SBOM=1
@@ -96,8 +94,8 @@ echo "Building with features: $KUKSA_DATABROKER_FEATURES"
96
94
# Rust target triplett (i.e. x86_64-unknown-linux-musl) and the corresponding docker
97
95
# architecture (i.e. amd64) as input
98
96
functionbuild_target() {
99
-
target_rust=$1
100
-
target_docker=$2
97
+
target=$1
98
+
platform=$2
101
99
102
100
# Need to set different target dir for different platforms, becasue cargo mixes things up
103
101
# when recycling the default target dir. When you do not do this, and e.g. first build amd64
@@ -111,20 +109,22 @@ function build_target() {
111
109
# /target/release/build/libc-2dd22ab6b5fb9fd2/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /target/release/build/libc-2dd22ab6b5fb9fd2/build-script-build)
112
110
#
113
111
# this is solved by using different target-dirs for each platform
0 commit comments