Commit Graph

25 Commits

Author SHA1 Message Date
Vishal Biswas 160d3aeb06 update ndk to 17 and switch some packages to clang build (#2415)
* update ndk to 17

* bump NDK version in setup-android script

* libnl: fix for ndk r17

* libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1)

Required to make package build with ndk17.

* fix as for arm

* ndk17 still uses ld.bfd on aarch64

* use -fno-integrated-as for clang only

* glib: remove patch unnecessary after ndk17

* torsocks: remove unneeded patch after ndk17

* subversion: fix build as clang++ now errors out for mismatched flags

* libpulseaudio: fix build with ndk17

https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684

* gst-plugins-good: disable video4linux2

ioctl is defined as __overloadable in ndk17 headers which
  conflicts with v4l2object's member ioctl

* libzmq: disable Werror to build with ndk17

* ltrace: hardcode symbol not available in ndk17

* busybox: build with clang for all arches except arm

* dropbear: build with clang instead of gcc

* gnupg: build with clang instead of gcc

* openssl: use clang for all arches except arm

* picolisp: build with clang instead of gcc

* valgrind: use clang on all arches except aarch64

* Revert "gst-plugins-good: disable video4linux2"

This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a.
Already applied on base branch.

* libllvm: use default arm triple
2018-05-27 14:55:20 +02:00
its-pointless 0f7cb9b760 fixes lldb on arm only not working properly on i386 now 2018-05-13 01:14:10 +02:00
Fredrik Fornwall 83d687abf5 libllvm: Fix building under ubuntu 18.04 2018-04-30 01:25:14 +02:00
its-pointless abd06e6437 llvm fixes using jit and calling getProcessTriple (#2299)
* llvm fixes using jit and calling getProcessTriple

* works properly with rustc

* this allows python llvmlite to built
2018-04-07 00:50:40 +02:00
its-pointless db75340215 llvm: Update from 5.0.1 to 6.0
Also build our own libomp.
2018-03-20 23:10:53 +01:00
tomty89 7072d99dd7 Ship libgcc in ndk-sysroot and ndk-multilib (#2146) 2018-02-15 17:57:03 +01:00
Fredrik Fornwall 329aab67ca libllvm: Update from 5.0 to 5.0.1 2017-12-26 23:27:38 +01:00
Fredrik Fornwall 11e67255be libllvm: Bump revision after patch 2017-11-17 02:13:32 +01:00
Vladimir Serbinenko d13180c3f3 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.
2017-11-16 23:36:10 +01:00
Vladimir Serbinenko 13a86d8959 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.
2017-11-16 23:36:10 +01:00
Fredrik Fornwall a2a151d3d1 llvm: Update src urls 2017-11-15 16:49:33 +01:00
Fredrik Fornwall 91e71e98cf llvm&clang: Update from 4.0.1 to 5.0.0 2017-09-10 21:50:24 +02:00
Fredrik Fornwall 8a175a5523 libllvm: Fix patch and bump revision 2017-09-02 02:30:19 +02:00
Vladimir Serbinenko 0b0122e72a clang: Disable calling into gcc from clang.
Clang calls into gcc if it tries to compile a language it doesn't understand.
On termux gcc is a symlink to clang, so this leads into fork loop until
the whole system runs out of memory.
2017-09-02 01:45:45 +02:00
Fredrik Fornwall 2087626916 libllvm: Bump revision after enabling openmp 2017-08-20 20:28:41 +02:00
Joakim bf6a9b28b9 clang: add OpenMP library, should now work 2017-08-20 13:48:48 +02:00
Fredrik Fornwall 6c29aaa1c7 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.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall a39f862d68 llvm&clang: Update from 4.0.0 to 4.0.1 2017-07-04 13:45:47 +02:00
Vishal Biswas c4a1b6a804 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
2017-07-01 02:41:21 +02:00
joakim-noah a423c35db9 Small tweaks to pcre and libllvm (#1103)
* pcre: add JIT functions

* libllvm: remove unnecessary dependency on Python 2.7
2017-06-22 14:28:30 +02:00
Fredrik Fornwall a2fde239ab Use local variables in bash functions 2017-04-09 16:54:36 +02:00
Fredrik Fornwall d6e574615c llvm&clang: Update from 3.9.1 to 4.0.0 2017-03-15 16:28:36 +01:00
Fredrik Fornwall 72f69cdc35 Use termux_error_exit in more cases 2017-03-05 03:30:38 +01:00
Fredrik Fornwall 95e60146d7 libllvm: Bump revision, enable the clang split 2017-02-26 14:52:04 +01:00
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
2017-02-12 20:57:51 +01:00