[vlc-devel] [PATCH v2 00/17] Refactor iOS build system for vanilla clang and armv7 support

Alexandre Janniaux ajanni at videolabs.io
Wed Apr 29 22:40:43 CEST 2020


I've been using xcode-cross from Martin these last few days and with
his help, finished those patches allowing to build with his project.

This patchset adapts the buildscript to work both within xcode-cross
or within an usual macosx environment.

At the same time, this PR makes iOS armv7 working again in the CI.

Alexandre Janniaux

Alexandre Janniaux (17):
  apple: build: use absolute path for VLC_SCRIPT_DIR
  apple: build: export host tools in hostenv wrapper
  apple: build: export nm in host tools
  macosx: env.build.sh: use xcrun to find host tools
  apple: build: export -m{OS}-version-min in LDFLAGS
  contrib: main: ensure NM is defined in makefile
  contrib: main.mak: use AR for cmake unconditionnally
  contrib: ffmpeg: also pass ranlib to configure
  configure.ac: link CoreServices only on MacOSX
  contrib: gpg-error: fix darwin triplet handling
  apple: build: forward -j to make
  contrib: gcrypt: force --tag for asm files
  contrib: use makefile instead of environment variable
  contrib: vpx: allow compiling without bitcode
  apple: build: build gas-preprocessor for armv7
  contrib: live555: use correct AR on iOS and macOS
  gitlab-ci: add armv7 iOS CI

 configure.ac                                  |  4 +-
 contrib/bootstrap                             |  9 +++
 contrib/src/ffmpeg/rules.mak                  |  2 +-
 ...akefile.am-force-tag-CC-for-.S-files.patch | 29 +++++++
 contrib/src/gcrypt/rules.mak                  |  2 +
 contrib/src/gpg-error/darwin-triplet.patch    | 41 +++++++---
 contrib/src/live555/rules.mak                 |  2 +-
 contrib/src/main.mak                          |  6 +-
 contrib/src/vpx/libvpx-remove-bitcode.patch   | 17 +++++
 contrib/src/vpx/rules.mak                     |  1 +
 extras/ci/gitlab-ci.yml                       | 10 +++
 extras/package/apple/build.sh                 | 75 ++++++++++++-------
 extras/package/apple/symbols.mak              | 37 +++++++++
 extras/package/macosx/env.build.sh            |  3 +
 14 files changed, 197 insertions(+), 41 deletions(-)
 create mode 100644 contrib/src/gcrypt/0001-cipher-Makefile.am-force-tag-CC-for-.S-files.patch
 create mode 100644 contrib/src/vpx/libvpx-remove-bitcode.patch
 create mode 100644 extras/package/apple/symbols.mak


More information about the vlc-devel mailing list