Skip to content

Commit

Permalink
bump(libllvm): 16.0.6 to 17.0.0 RC4
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Sep 6, 2023
1 parent 49b3906 commit 9778dc6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
9 changes: 4 additions & 5 deletions packages/libllvm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ TERMUX_PKG_DESCRIPTION="Modular compiler and toolchain technologies library"
TERMUX_PKG_LICENSE="Apache-2.0, NCSA"
TERMUX_PKG_LICENSE_FILE="llvm/LICENSE.TXT"
TERMUX_PKG_MAINTAINER="@finagolfin"
LLVM_MAJOR_VERSION=16
TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.0.6
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e
TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/llvm-project-$TERMUX_PKG_VERSION.src.tar.xz
LLVM_MAJOR_VERSION=17
TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.0.0
TERMUX_PKG_SHA256=277d0671a8f389e2ae44f4fe591974bb8434c115a94ed289ab17d13a4de2940e
TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION-rc4/llvm-project-${TERMUX_PKG_VERSION}rc4.src.tar.xz
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_RM_AFTER_INSTALL="
bin/ld64.lld.darwin*
Expand Down
1 change: 1 addition & 0 deletions packages/libllvm/clang.subpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include/clang*
lib/clang/*/include/*.h
lib/clang/*/include/module.modulemap
lib/clang/*/include/cuda_wrappers/
lib/clang/*/include/llvm_libc_wrappers/
lib/clang/*/include/openmp_wrappers/
lib/clang/*/include/orc/
lib/clang/*/include/ppc_wrappers/
Expand Down
6 changes: 3 additions & 3 deletions packages/libllvm/cxx-libm.patch
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ index 2ad4509..4d0b060 100644
+ if (D.CCCIsCXX())
+ CmdArgs.push_back("-lm");
+
if (WantPthread && !isAndroid)
CmdArgs.push_back("-lpthread");

// LLVM support for atomics on 32-bit SPARC V8+ is incomplete, so
// forcibly link with libatomic as a workaround.
// TODO: Issue #41880 and D118021.
3 changes: 3 additions & 0 deletions scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ PACKAGES+=" libdebuginfod-dev"
# Needed to set up CGCT and also to set up other packages
PACKAGES+=" patchelf"

# Needed by lldb for python integration
PACKAGES+=" swig"

# Do not require sudo if already running as root.
if [ "$(id -u)" = "0" ]; then
SUDO=""
Expand Down

0 comments on commit 9778dc6

Please sign in to comment.