Fredrik Fornwall
f9502be603
libllvm: Bump revision after patch
7 years ago
Vladimir Serbinenko
f496603279
Add LLD package.
LLD is LLVM-based multi-platform linker. Together with cross-compiling
clang it can be used to create binaries for other platforms.
7 years ago
Vladimir Serbinenko
280de3e5d9
Currently the only clang available on termux compiles for termux. This
patc allows clang to be used in cross-compilations. E.g. to compile 32-bit
binaries on 64-bit termux.
8 years ago
Fredrik Fornwall
ffe3cecadc
llvm: Update src urls
7 years ago
Fredrik Fornwall
fde18d473c
llvm&clang: Update from 4.0.1 to 5.0.0
7 years ago
Fredrik Fornwall
8ab024d0c0
libllvm: Fix patch and bump revision
7 years ago
Fredrik Fornwall
49e8e8c406
libllvm: Bump revision after enabling openmp
7 years ago
Joakim
382e583cbf
clang: add OpenMP library, should now work
8 years ago
Fredrik Fornwall
d946e67c5b
Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.
We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.
Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
8 years ago
Fredrik Fornwall
aa4a9f995f
llvm&clang: Update from 4.0.0 to 4.0.1
8 years ago
Vishal Biswas
a8abc4a607
libllvm: add llvm-config helper script ( #917 )
* libllvm: add llvm-config helper script
* libllvm: add components to llvm-config wrapper
* libllvm: restructure llvm-config.in
* libllvm: remove unsupported gcc flags from llvm-config
* libllvm: use full libfile path for --libs
* libllvm: fix has_rtti in llvm-config
* libllvm: add cmake files path in llvm-config
8 years ago
joakim-noah
e19791bbc2
Small tweaks to pcre and libllvm ( #1103 )
* pcre: add JIT functions
* libllvm: remove unnecessary dependency on Python 2.7
8 years ago
Fredrik Fornwall
fc9c543ace
Use local variables in bash functions
8 years ago
Fredrik Fornwall
d6e574615c
llvm&clang: Update from 3.9.1 to 4.0.0
8 years ago
Fredrik Fornwall
72f69cdc35
Use termux_error_exit in more cases
8 years ago
Fredrik Fornwall
95e60146d7
libllvm: Bump revision, enable the clang split
8 years ago
Fredrik Fornwall
edc3049a03
clang: Split up into several packages
Split up the previous clang package into:
- libllvm: lib/libLLVM.so
- libclang: lib/libclang.so
- clang: bin/clang and associated tools and symlinks
- llvm: The bin/llvm-* tools
8 years ago
Fredrik Fornwall
160874611f
Always export CMAKE_INSTALL_ALWAYS=1 for cmake builds
8 years ago
Fredrik Fornwall
c7ffebd4ec
clang: Add back C_INCLUDE_DIRS ( fixes #683 )
8 years ago
Fredrik Fornwall
320bee67d1
Call termux_setup_cmake before invoking cmake
This fixes build in an environment (e.g. the Docker image) without
cmake installed.
8 years ago
Fredrik Fornwall
4f4b496674
clang: Add notes about LLVM_LINK_LLVM_DYLIB
8 years ago
Fredrik Fornwall
8dc2f0d66c
clang: Add back TERMUX_PKG_FORCE_CMAKE=yes
8 years ago
Fredrik Fornwall
e8df72c0b9
clang: Fix build when python2.7 has been built
8 years ago
Fredrik Fornwall
3265c61278
clang: Setup ${TERMUX_HOST_PLATFORM}-{clang,clang++} symlinks
8 years ago
Vishal Biswas
58f7a21c18
Add support for cmake 3.7 ( #660 )
8 years ago
Fredrik Fornwall
508fa73cb8
Always call post-extract step in srcdir
8 years ago
Fredrik Fornwall
ae0899e7c4
clang: Only build host {llvm,clang}-tblgen
We only need host binaries for llvm-tblgen and clang-tblgen, so
there is no need building a complete clang build.
8 years ago
Fredrik Fornwall
d1fd5e29d5
clang: Update from 3.9.0 to 3.9.1
8 years ago
Fredrik Fornwall
5187237423
clang: Update from 3.8.1 to 3.9.0
8 years ago
Fredrik Fornwall
9cbdadb1fe
clang: Support -nopie flag
8 years ago
Fredrik Fornwall
290517e829
clang: Setup cpp as symlink to clang
The cpp program was missing after the gcc -> clang transition, but
clang implements cpp if invoked by that name.
Fixes #397 .
8 years ago
Fredrik Fornwall
768ce14ecc
Replace gcc with clang
Only clang has official support for Android, and trying to maintain
a working gcc will only get messier over time.
Remove gcc and g++ packages, and setup gcc and g++ as symlinks to
clang.
Let clang replace gcc, but note that 'apt dist-upgrade' needs to
be run once if a user has both clang and gcc installed.
Fixes #369 .
8 years ago
Fredrik Fornwall
3f300a10fc
Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.
Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
9 years ago
Fredrik Fornwall
eb6225f1cd
clang: Update from 3.8.0 to 3.8.1
9 years ago
Fredrik Fornwall
4936e55714
clang: Use X86 as target arch for x86-64
9 years ago
Fredrik Fornwall
8f36e264a8
clang: Fix arm build to target armv7 ( fixes #282 )
9 years ago
Fredrik Fornwall
0b4923cdcf
clang: Depend on ndk-stl and remove triplet mess
9 years ago
Fredrik Fornwall
f48d46ddd8
clang: float=hard -> float=softfp for arm
9 years ago
Fredrik Fornwall
0b371c4273
clang: Some improvements
- Link to libgnustl_shared.so by default for C++.
- Setup 'cc' and 'c++' as symlinks to clang.
- Use hard-float ABI om arm by default.
9 years ago
Fredrik Fornwall
3e902b5f00
clang: Depend on libgcc ( fixes #72 )
9 years ago
Fredrik Fornwall
6e1eae49c0
clang: Update from 3.7.1 to 3.8.0
9 years ago
Fredrik Fornwall
10b7af443d
clang: Remove workaround not needed in NDK r11
9 years ago
Fredrik Fornwall
fce29be57d
clang: Update from 3.7 to 3.7.1
9 years ago
Fredrik Fornwall
88b27cc6bd
clang: Fix aarch64 build
9 years ago
Fredrik Fornwall
f01cc586d2
Add disabled patch to clang
9 years ago
robertvalik
e7344047e4
fixed some non-ascii chars in build scripts
9 years ago
Fredrik Fornwall
e34d841360
Update clang to 3.7.0
9 years ago
Fredrik Fornwall
d9efe0dedc
clang: Depend on binutils for the linker
10 years ago
Fredrik Fornwall
e41b40984a
clang: Update from 3.6.1 to 3.6.2
10 years ago
Fredrik Fornwall
b1c725d5b2
clang: Use symlinks, not hardlinks
10 years ago