Page MenuHomePhabricator

[cmake] WIP: Add cache file to bootstrap linux cross compile on Darwin.
AbandonedPublic

Authored by hintonda on Jan 8 2018, 11:42 AM.

Details

Summary

Add ability to cross compile clang on Darwin and target Linux.

This patch has the following issues:

  • LIbFuzzer fails to compile due to issues with compiling an internal version of libc++.
    • Patch: TBD
    • Workaround: pass -DBOOTSTRAP_COMPILER_RT_BUILD_LIBFUZZER=OFF

Diff Detail

Event Timeline

hintonda created this revision.Jan 8 2018, 11:42 AM
hintonda updated this revision to Diff 129028.Jan 8 2018, 7:27 PM
  • Also pass LLVM_CONFIG_EXE.
hintonda updated this revision to Diff 130367.Jan 18 2018, 1:11 AM

Refactor to eliminate need for second stage and toolchain files.

hintonda retitled this revision from [cmake] Add cache file to bootstrap 2-stage linux cross compile on Darwin. to [cmake] Add cache file to bootstrap linux cross compile on Darwin..Jan 18 2018, 1:22 AM
hintonda edited the summary of this revision. (Show Details)
hintonda edited the summary of this revision. (Show Details)Jan 18 2018, 1:35 AM
hintonda updated this revision to Diff 130638.Jan 19 2018, 9:47 AM
hintonda edited the summary of this revision. (Show Details)
  • Also pass LLVM_CONFIG_EXE.
  • Add llvm-objcopy, and make sure that is stage2 cache file is passed,
hintonda updated this revision to Diff 130748.Jan 19 2018, 9:20 PM
  • Use LLVM_CONFIG_PATH instead of LLVM_CONFIG_EXE.
hintonda edited the summary of this revision. (Show Details)Jan 19 2018, 9:24 PM
hintonda edited the summary of this revision. (Show Details)Jan 19 2018, 9:31 PM
hintonda edited the summary of this revision. (Show Details)Jan 23 2018, 10:12 PM
hintonda retitled this revision from [cmake] Add cache file to bootstrap linux cross compile on Darwin. to [cmake] WIP: Add cache file to bootstrap linux cross compile on Darwin..Jan 28 2018, 7:21 PM
hintonda edited the summary of this revision. (Show Details)
hintonda updated this revision to Diff 131742.Jan 28 2018, 8:06 PM
hintonda edited the summary of this revision. (Show Details)
  • Libfuzzers won't build, so turn off.
  • Fix typos, and set cache.
hintonda abandoned this revision.Mar 29 2019, 2:08 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript