From 0960cd07f10d69768bc96c17dc8164a190bec39c Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Tue, 20 Feb 2024 14:19:37 +0100 Subject: [PATCH] hls/xls: bump llvm toolchain --- hls/xls/bump-llvm-toolchain.patch | 13 +++++++++++++ hls/xls/meta.yaml | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 hls/xls/bump-llvm-toolchain.patch diff --git a/hls/xls/bump-llvm-toolchain.patch b/hls/xls/bump-llvm-toolchain.patch new file mode 100644 index 00000000..b45e7501 --- /dev/null +++ b/hls/xls/bump-llvm-toolchain.patch @@ -0,0 +1,13 @@ +diff --git a/WORKSPACE b/WORKSPACE +index 7e9db5ff..57c81cca 100644 +--- a/WORKSPACE ++++ b/WORKSPACE +@@ -36,7 +36,7 @@ load("@toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain") + + llvm_toolchain( + name = "llvm_toolchain", +- llvm_version = "17.0.2", ++ llvm_version = "17.0.6", + ) + + load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains") diff --git a/hls/xls/meta.yaml b/hls/xls/meta.yaml index 766a32d4..cd29f758 100644 --- a/hls/xls/meta.yaml +++ b/hls/xls/meta.yaml @@ -8,6 +8,8 @@ package: source: - git_url: https://github.com/google/xls.git git_rev: main + patches: + - bump-llvm-toolchain.patch # to remove libtinfo deps - url: https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-amd64 sha256: ce52caa51ef9e509fb6b7e5ad892e5cf10feb0794b0aed4d2f36adb00a1a2779