Просмотр исходного кода

build_llvm.sh: enable to pass through arguments (#1506)

To make it simpler to specify `--project`.
YAMAMOTO Takashi 3 лет назад
Родитель
Сommit
aba3707529

+ 1 - 1
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 "$@"

+ 1 - 1
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 "$@"

+ 1 - 1
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 "$@"

+ 1 - 1
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 "$@"

+ 1 - 1
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 "$@"

+ 1 - 1
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 "$@"