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

Added LLVM_DIR for OSX #6258

Merged
merged 3 commits into from
Nov 20, 2018
Merged

Added LLVM_DIR for OSX #6258

merged 3 commits into from
Nov 20, 2018

Conversation

larryk85
Copy link
Contributor

@larryk85 larryk85 commented Nov 6, 2018

Change Description
Added LLVM_DIR fix for EosioTester, this points EosioTester directly to where llvm 4.0 is installed on Mac OSX.

Consensus Changes

API Changes

Documentation Additions

@larryk85 larryk85 added this to the Version 1.4 milestone Nov 6, 2018
@heifner heifner requested a review from arhag November 7, 2018 14:29
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.

Why not have the path be /usr/local/opt/llvm@4/lib/cmake/llvm? That way you don't have a dependency on the particular minor and patch release of LLVM? And that symlink should exist even if the user brew unlinks llvm@4.

Same goes for the path in EosioTesterBuild.cmake.in.

@arhag arhag merged commit d255674 into release/1.4.x Nov 20, 2018
@arhag arhag deleted the fix/tester_llvm_dir branch November 20, 2018 16:19
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.

2 participants