Skip to content

Fix bison and flex dependencies in MacOS CI#2442

Closed
kevinwilfong wants to merge 1 commit intofacebookincubator:mainfrom
kevinwilfong:update_version
Closed

Fix bison and flex dependencies in MacOS CI#2442
kevinwilfong wants to merge 1 commit intofacebookincubator:mainfrom
kevinwilfong:update_version

Conversation

@kevinwilfong
Copy link
Contributor

@kevinwilfong kevinwilfong commented Sep 1, 2022

Bison and flex come standard with MacOS. Out of caution, homebrew will not install the executables from these kegs into the bin directory on MacOS.

Due to this, the versions of bison and flex we've been using in CircleCI on MacOS have been the ones installed with the OS not the ones we installed with homebrew.

This change fixes the PATH we use when building to include the directories where homebrew installs the executables for these two libraries. It also updates the FLEX_INCLUDE_DIR environment variable used in cmake to point to the include directory for flex installed by homebrew.

I think we've been getting away with this because the versions that came with our MacOS image were new enough that they worked for our build, but now our dependencies require newer versions of the libraries.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 1, 2022
@netlify
Copy link

netlify bot commented Sep 1, 2022

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 334861d
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/631172ca823d52000844f0ea

@kevinwilfong kevinwilfong changed the title Bump cache key version for macos CircleCI [WIP] Bump cache key version for macos CircleCI Sep 1, 2022
@kevinwilfong kevinwilfong force-pushed the update_version branch 3 times, most recently from a33f29a to ce2ec7a Compare September 2, 2022 01:48
@kevinwilfong kevinwilfong changed the title [WIP] Bump cache key version for macos CircleCI Fix bison and flex dependencies in MacOS CI Sep 2, 2022
@facebook-github-bot
Copy link
Contributor

@kevinwilfong has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@mbasmanova
Copy link
Contributor

CC: @majetideepak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants