diff options
author | Ayke van Laethem <[email protected]> | 2022-11-03 16:13:12 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-11-04 09:11:21 +0100 |
commit | 9e34ca9e5fee67ac931643492bfbb850cee65781 (patch) | |
tree | e53e41a81d357fa79fddc90033c3327c8696de62 /.circleci | |
parent | 268140ae40185f2b2b79df9e0550cc4f7287692c (diff) | |
download | tinygo-9e34ca9e5fee67ac931643492bfbb850cee65781.tar.gz tinygo-9e34ca9e5fee67ac931643492bfbb850cee65781.zip |
esp: use LLVM Xtensa linker instead of Espressif toolchain
The Espressif fork of LLVM now has Xtensa support in the linker LLD.
(This support was written mosly by me). This means we don't have to use
the Espressif GNU toolchain anymore and makes installing TinyGo simpler.
In the future, this also paves the way for ThinLTO support. Right now it
is mostly just a way to simplify TinyGo installation and speed up CI
slightly.
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 38621258a..b8f8f4068 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,18 +6,6 @@ commands: - run: name: "Pull submodules" command: git submodule update --init - install-xtensa-toolchain: - parameters: - variant: - type: string - steps: - - run: - name: "Install Xtensa toolchain" - command: | - curl -L https://github.com/espressif/crosstool-NG/releases/download/esp-2020r2/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-<<parameters.variant>>.tar.gz -o xtensa-esp32-elf-gcc8_2_0-esp-2020r2-<<parameters.variant>>.tar.gz - sudo tar -C /usr/local -xf xtensa-esp32-elf-gcc8_2_0-esp-2020r2-<<parameters.variant>>.tar.gz - sudo ln -s /usr/local/xtensa-esp32-elf/bin/xtensa-esp32-elf-ld /usr/local/bin/xtensa-esp32-elf-ld - rm xtensa-esp32-elf-gcc8_2_0-esp-2020r2-<<parameters.variant>>.tar.gz llvm-source-linux: steps: - restore_cache: |