From aba37075297b9f3c1a6277bf64c32b0d18ac9d03 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 20 Sep 2022 18:54:50 +0900 Subject: [PATCH] build_llvm.sh: enable to pass through arguments (#1506) To make it simpler to specify `--project`. --- product-mini/platforms/android/build_llvm.sh | 2 +- product-mini/platforms/darwin/build_llvm.sh | 2 +- product-mini/platforms/linux/build_llvm.sh | 2 +- wamr-compiler/build_llvm.sh | 2 +- wamr-compiler/build_llvm_arc.sh | 2 +- wamr-compiler/build_llvm_xtensa.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/product-mini/platforms/android/build_llvm.sh b/product-mini/platforms/android/build_llvm.sh index dd4fc090..3ef343f9 100755 --- a/product-mini/platforms/android/build_llvm.sh +++ b/product-mini/platforms/android/build_llvm.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../../../build-scripts/build_llvm.py --platform android +/usr/bin/env python3 ../../../build-scripts/build_llvm.py --platform android "$@" diff --git a/product-mini/platforms/darwin/build_llvm.sh b/product-mini/platforms/darwin/build_llvm.sh index f037b4ff..1cb00425 100755 --- a/product-mini/platforms/darwin/build_llvm.sh +++ b/product-mini/platforms/darwin/build_llvm.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../../../build-scripts/build_llvm.py --platform darwin +/usr/bin/env python3 ../../../build-scripts/build_llvm.py --platform darwin "$@" diff --git a/product-mini/platforms/linux/build_llvm.sh b/product-mini/platforms/linux/build_llvm.sh index 70371529..47387a3c 100755 --- a/product-mini/platforms/linux/build_llvm.sh +++ b/product-mini/platforms/linux/build_llvm.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../../../build-scripts/build_llvm.py +/usr/bin/env python3 ../../../build-scripts/build_llvm.py "$@" diff --git a/wamr-compiler/build_llvm.sh b/wamr-compiler/build_llvm.sh index 089e48b2..35dc35ed 100755 --- a/wamr-compiler/build_llvm.sh +++ b/wamr-compiler/build_llvm.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../build-scripts/build_llvm.py +/usr/bin/env python3 ../build-scripts/build_llvm.py "$@" diff --git a/wamr-compiler/build_llvm_arc.sh b/wamr-compiler/build_llvm_arc.sh index c48c3095..f8f40edd 100755 --- a/wamr-compiler/build_llvm_arc.sh +++ b/wamr-compiler/build_llvm_arc.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../build-scripts/build_llvm.py --platform arc +/usr/bin/env python3 ../build-scripts/build_llvm.py --platform arc "$@" diff --git a/wamr-compiler/build_llvm_xtensa.sh b/wamr-compiler/build_llvm_xtensa.sh index 8277f9ca..d75b62fe 100755 --- a/wamr-compiler/build_llvm_xtensa.sh +++ b/wamr-compiler/build_llvm_xtensa.sh @@ -3,4 +3,4 @@ # Copyright (C) 2020 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -/usr/bin/env python3 ../build-scripts/build_llvm.py --platform xtensa +/usr/bin/env python3 ../build-scripts/build_llvm.py --platform xtensa "$@"