Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau authored and awakecoding committed Sep 23, 2022
1 parent ce1d46f commit 487ec30
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 29 deletions.
1 change: 1 addition & 0 deletions .github/workflows/llvm-prebuilt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
git -C llvm-project apply ../llvm-prebuilt/patches/llvm-12-add-lld-install-targets.patch
} else {
git -C llvm-project apply ../llvm-prebuilt/patches/llvm-14-add-lld-install-targets.patch
git -C llvm-project apply ../llvm-prebuilt/patches/llvm-14-force-disable-clang-ast-introspection.patch
}
- name: Enable Windows host environment
Expand Down
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,30 @@

This is a repository to create prebuilt clang+llvm distributions for major operating systems and processor architectures. It can be used to create your own custom builds, or you can download the [prebuilt packages](https://github.com/awakecoding/llvm-prebuilt/releases).

Arch | Windows | macOS | Linux
----------------------|--------------------|--------------------------|--------------------
x86_64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
aarch64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
## clang-llvm

Arch | Windows | macOS | Ubuntu 20.04 | Ubuntu 22.04
----------------------|--------------------|--------------------|--------------------|--------------------
x86_64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
aarch64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:

## ctools

Arch | Windows | macOS | Ubuntu 20.04 | Ubuntu 22.04
----------------------|--------------------|--------------------|--------------------|--------------------
x86_64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
aarch64 | :white_large_square: | :white_large_square: | :white_large_square: | :white_large_square:

## Halide

Arch | Windows | macOS | Ubuntu 20.04 | Ubuntu 22.04
----------------------|--------------------|--------------------|--------------------|--------------------
x86_64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
aarch64 | :white_large_square: | :white_large_square: | :white_large_square: | :white_large_square:

## Rust

Arch | Windows | macOS | Ubuntu 20.04 | Ubuntu 22.04
----------------------|--------------------|--------------------|--------------------|--------------------
x86_64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:
aarch64 | :white_large_square: | :white_large_square: | :white_large_square: | :white_large_square:
30 changes: 30 additions & 0 deletions patches/llvm-14-force-disable-clang-ast-introspection.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 411aaf3924df6b09d78ff0149bcf71195b2fa670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= <[email protected]>
Date: Fri, 23 Sep 2022 14:34:36 -0400
Subject: [PATCH] force-disable clang ast introspection

---
clang/lib/Tooling/CMakeLists.txt | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/clang/lib/Tooling/CMakeLists.txt b/clang/lib/Tooling/CMakeLists.txt
index 403d2dfb45e8..3d980f1a2dcf 100644
--- a/clang/lib/Tooling/CMakeLists.txt
+++ b/clang/lib/Tooling/CMakeLists.txt
@@ -23,12 +23,7 @@ string(SUBSTRING ${CMAKE_CURRENT_BINARY_DIR} 0 ${PATH_LIB_START} PATH_HEAD)
string(SUBSTRING ${CMAKE_CURRENT_BINARY_DIR} ${PATH_LIB_END} -1 PATH_TAIL)
string(CONCAT BINARY_INCLUDE_DIR ${PATH_HEAD} "/include/clang/" ${PATH_TAIL})

-if (NOT Python3_EXECUTABLE
- OR APPLE
- OR CMAKE_CROSSCOMPILING
- OR GENERATOR_IS_MULTI_CONFIG
- OR NOT LLVM_NATIVE_ARCH IN_LIST LLVM_TARGETS_TO_BUILD
- )
+if (TRUE) # force-disable clang ast introspection
configure_file(
EmptyNodeIntrospection.inc.in
${BINARY_INCLUDE_DIR}/NodeIntrospection.inc
--
2.25.1

25 changes: 0 additions & 25 deletions patches/rust-1.63.0-allow-dynamic-linking-for-ios-targets.patch

This file was deleted.

0 comments on commit 487ec30

Please sign in to comment.