Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/llvm16'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Apr 6, 2023
2 parents 4c1ac05 + 2d5dc28 commit ab2b289
Show file tree
Hide file tree
Showing 7,357 changed files with 479,592 additions and 705,247 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ end with a fully operational Zig compiler for any target.
This repository copies sources from upstream. Patches listed below. Use git
to find and inspect the patch diffs.

* LLVM, LLD, Clang 15.0.7
* LLVM, LLD, Clang 16.0.1
* zlib 1.2.13
* zstd 1.5.2
* zig 0.11.0-dev.2247+38ee46dda
* zig 0.11.0-dev.2441+eb19f73af

For other versions, check the git tags of this repository.

### Patches

* all: Deleted unused files.
* LLVM: Support .lib extension for static zstd.
* LLVM: Copied CMake modules from out of tree.
* LLVM: Portable handling of .def linker flag
* Clang: Disable building of libclang-cpp.so.
* LLD: Added additional include directory to Zig's libunwind.
Expand Down
5 changes: 2 additions & 3 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TARGET="$1" # Example: riscv64-linux-gnu
MCPU="$2" # Examples: `baseline`, `native`, `generic+v7a`, or `arm1176jzf_s`

ROOTDIR="$(pwd)"
ZIG_VERSION="0.11.0-dev.2257+f99b75360"
ZIG_VERSION="0.11.0-dev.2441+eb19f73af"

TARGET_OS_AND_ABI=${TARGET#*-} # Example: linux-gnu

Expand All @@ -30,8 +30,8 @@ cmake "$ROOTDIR/llvm" \
-DLLVM_ENABLE_PROJECTS="lld;clang" \
-DLLVM_ENABLE_LIBXML2=OFF \
-DLLVM_ENABLE_ZSTD=OFF \
-DLLVM_INCLUDE_UTILS=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_GO_TESTS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_INCLUDE_DOCS=OFF \
Expand Down Expand Up @@ -163,7 +163,6 @@ cmake "$ROOTDIR/llvm" \
-DLLVM_BUILD_STATIC=ON \
-DLLVM_INCLUDE_UTILS=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_GO_TESTS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_INCLUDE_DOCS=OFF \
Expand Down
1 change: 0 additions & 1 deletion clang/.clang-format

This file was deleted.

Loading

0 comments on commit ab2b289

Please sign in to comment.