build: add installation of LLVM 18

Using 15 causes a segmentation fault on `aarch64`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-08-05 15:26:31 +02:00
parent f1411a2f0d
commit 4fb5a16749
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,11 @@
--- ---
- name: Install Clang compiler
homebrew:
name: 'llvm@18'
state: 'linked'
upgrade: false
become_user: 'admin'
- name: Clone repo - name: Clone repo
git: git:
repo: '{{ beacon_node_repo_url }}' repo: '{{ beacon_node_repo_url }}'

View File

@ -51,8 +51,8 @@ if [[ "${USER}" != "{{ beacon_node_user }}" ]]; then
exit 1 exit 1
fi fi
# Source profile to set correct PATH (to find homebrew binaries such as cmake) # Set correct PATH to find Homebrew binaries such as cmake.
source /etc/profile eval "$({{ homebrew_path }}/bin/brew shellenv)"
# Build the Beacon node binaries # Build the Beacon node binaries
pushd repo >/dev/null pushd repo >/dev/null