diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 94787459ec9..5ee27ee917f 100644 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -484,8 +484,8 @@ kube::golang::build_binaries() { local gigs gigs=$(kube::golang::get_physmem) - if [[ ${gigs} -gt ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then - kube::log::status "Multiple platforms requested and available ${gigs}G > threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel" + if [[ ${gigs} -ge ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then + kube::log::status "Multiple platforms requested and available ${gigs}G >= threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel" parallel=true else kube::log::status "Multiple platforms requested, but available ${gigs}G < threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in serial"