Skip to content

Commit

Permalink
Fix CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
kigster committed Oct 3, 2024
1 parent 3289fa1 commit 2f99fbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/install-dev-tooling
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ run "brew update && brew install rbenv ruby-build"
run "brew install jemalloc rust"
h2 "Building Ruby... with Jemalloc & YJIT"

set -e
run.set-all abort-on-error

unset CFLAGS
export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"
export RUBY_CONFIGURE_OPTS="--enable-yjit --with-jemalloc"
rbenv install $(cat .ruby-version | tr -d '\n')
bundle install -j 4
run.set-next show-output-on
run "RUBY_CONFIGURE_OPTS='--enable-yjit --with-jemalloc' rbenv install -f $(cat .ruby-version | tr -d '\n')"
run "bundle install -j 4"

0 comments on commit 2f99fbd

Please sign in to comment.