HomePhabricator

build: split native_cctools

Description

build: split native_cctools

Summary:

This splits our native cctools package into two additional packages: native_clang and native_libtapi. This is in an effort to not only make our mac toolchain more understandable, but also to reduce duplication.

Everything about the current build process should remain the same. For gitian, that is:

  • Download LLVM Clang 8.0.0 binary.
  • Build libtapi using downloaded Clang.
  • Build cctools using downloaded Clang and libtapi.
  • Build the rest of depends..

For Guix (FORCE_USE_SYSTEM_CLANG=1):

  • Build libtapi using using system Clang.
  • Build cctools using system Clang and libtapi.
  • Build the rest of depends..

This is a backport of core#21457

Depends on D13753

Test Plan:
CI OSX builds

To test the FORCE_USE_SYSTEM_CLANG=1 branch:

contrib/guix/guix-build

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13775

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Mar 17 2021, 04:06
PiRKCommitted on Apr 27 2023, 06:27
PiRKPushed on Apr 27 2023, 06:27
Reviewer
Restricted Project
Differential Revision
D13775: build: split native_cctools
Parents
rABC913bb95fa8e9: build: Replace genisoimage with xorriso
Branches
Unknown
Tags
Unknown