Skip to content

Commit

Permalink
remove LLVM installation for MySQL versions 8.4 and later in build sc…
Browse files Browse the repository at this point in the history
…ript (#1202)
  • Loading branch information
shogo82148 authored Dec 24, 2024
1 parent fbe3840 commit 3c91bb1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/build-mysql-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ esac
PREFIX=$RUNNER_TOOL_CACHE/mysql/$MYSQL_VERSION/$MYSQL_ARCH
export LDFLAGS=-Wl,-rpath,$PREFIX/lib

if [[ "$MYSQL_VERSION" =~ ^([1-9][0-9][.]|9[.]|8[.]4[.]) ]]; then # MySQL 8.4 or later
# install LLVM
brew install llvm@17
LLVM_PATH=$(brew --prefix llvm@17)
export PATH="$LLVM_PATH/bin:$PATH"
export LDFLAGS="$LDFLAGS -L$LLVM_PATH/lib"
export CPPFLAGS="$CPPFLAGS -I$LLVM_PATH/include"
export CC=$LLVM_PATH/bin/clang
export CXX=$LLVM_PATH/bin/clang++
fi

# detect the number of CPU Core
JOBS=$(sysctl -n hw.logicalcpu_max)

Expand Down

0 comments on commit 3c91bb1

Please sign in to comment.