Skip to content

Commit 26ca2d7

Browse files
smithp35mplatings
authored andcommitted
Update macOS support level and document how to dequarantine the tools (#227)
On macOS when the files are unpacked the com.apple.quarantine will be added to the executable files. Document that user is responsible for removing the attribute and give the user a command to run to do this. This issue will be addressed in a follow up change.
1 parent 834926c commit 26ca2d7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ LLVM Embedded Toolchain for Arm is built and tested on Ubuntu 18.04 LTS.
5959

6060
The Windows version is built on Windows Server 2019 and lightly tested on Windows 10.
6161

62-
Building on macOS is functional but experimental. Currently it is only lightly tested on
63-
a Macbook Pro with M1 on macOS 12.3.1.
62+
Building on macOS is functional for x86_64 and Apple Silicon.
6463

6564
[Binary packages](https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases)
6665
are provided for major LLVM releases for Linux and Windows.
@@ -73,6 +72,14 @@ and extract the archive into an arbitrary directory.
7372

7473
On Ubuntu 20.04 and later `libtinfo5` is required: `apt install libtinfo5`.
7574

75+
On macOS the toolchain binaries are quarantined by com.apple.quarantine. To
76+
run the executables change directory to bin and run the following command to
77+
remove the com.apple.quarantine:
78+
79+
```
80+
find . -type f -perm +0111 | xargs xattr -d com.apple.com.quarantine
81+
```
82+
7683
### Using the toolchain
7784

7885
To use the toolchain, on the command line you need to provide:

0 commit comments

Comments
 (0)