File tree 13 files changed +26
-22
lines changed
13 files changed +26
-22
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
build_clang () {
21
21
mkdir -p $BUILD_DIR /llvm
22
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
build_compilerrt () {
21
21
pushToCleanDir $BUILD_DIR /compiler-rt
22
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
build_misc () {
21
21
[ " $# " -ne 0 ] && error " misc does not support variants."
22
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
build_newlib () {
21
21
pushToCleanDir $BUILD_DIR /newlib
22
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
. $( dirname $BASH_SOURCE [0]) /config.sh
21
21
. $( dirname $BASH_SOURCE [0]) /prepare-source.sh
22
22
for E in common clang newlib compiler-rt; do
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
configure_toolchain () {
21
21
# LLD does not have a good bare-metal builtin linker script (yet)
22
22
cp " $SOURCE_ROOT_DIR /ldscript/base.ld" " $TARGET_LLVM_PATH /targets/${TARGET} /base.ld"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
package_toolchain () {
21
21
echo " $VERSION_STRING " > $TARGET_LLVM_PATH /VERSION.txt
22
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
prepare_source () {
21
21
if [ ! -x $VENV_DIR /bin/repos.py ]; then
22
22
error " Python virtualenv problem. Have you run setup.sh ?"
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #!/usr/bin/env python3
19
-
20
20
import argparse
21
21
import yaml
22
22
import os
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #!/usr/bin/env python3
19
-
20
20
from setuptools import setup , find_packages
21
21
setup (
22
22
name = "LLVMEmbeddedToolchainForArm" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
#
2
4
# Copyright (c) 2020, Arm Limited and affiliates.
3
5
# SPDX-License-Identifier: Apache-2.0
15
17
# limitations under the License.
16
18
#
17
19
18
- #! /bin/bash
19
-
20
20
python3 -m venv venv
21
21
22
22
. venv/bin/activate
You can’t perform that action at this time.
0 commit comments