Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Remove llvm@4 force link for Mac OS X builds #6100

Merged
merged 3 commits into from
Oct 25, 2018

Conversation

larryk85
Copy link
Contributor

@larryk85 larryk85 commented Oct 22, 2018

Change Description
This removes brew --force link for the llvm@4 package, this force link had unfortunate side effects of overwriting the system clang++/clang with clang 4.0 and libc++ which was causing issues with binary builds.

Consensus Changes

API Changes

Documentation Additions

Before running the fixed eosio_build.sh it is recommended to run brew remove llvm@4 to allow the script to do a fresh install or at the very least brew unlink llvm@4.

@larryk85 larryk85 added this to the Version 1.4 milestone Oct 22, 2018
if (UNIX)
if (APPLE)
if (LLVM_DIR STREQUAL "" OR NOT LLVM_DIR)
set(LLVM_DIR "/usr/local/Cellar/llvm@4/4.0.1/lib/cmake/llvm")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is LLVM_DIR used? I can't seem to find any other reference to it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used in FindLLVM.cmake.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay yes I see, LLVM_DIR is used as an input hint to find_package(LLVM)

@wanderingbort wanderingbort merged commit bcb62ff into release/1.4.x Oct 25, 2018
@wanderingbort wanderingbort deleted the fix/remove_llvm_link branch October 25, 2018 03:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants