fix bug in build-container.sh

This commit is contained in:
Benson Wong
2025-02-14 15:27:56 -08:00
parent 0acfdb9f78
commit ed2a50d9a6

View File

@@ -5,7 +5,7 @@ cd $(dirname "$0")
ARCH=$1 ARCH=$1
# List of allowed architectures # List of allowed architectures
ALLOWED_ARCHS=("intel" "vulkan" "musa" "cuda", "cpu") ALLOWED_ARCHS=("intel" "vulkan" "musa" "cuda" "cpu")
# Check if ARCH is in the allowed list # Check if ARCH is in the allowed list
if [[ ! " ${ALLOWED_ARCHS[@]} " =~ " ${ARCH} " ]]; then if [[ ! " ${ALLOWED_ARCHS[@]} " =~ " ${ARCH} " ]]; then