Skip to content

Commit 519864b

Browse files
committed
fix for amd64
1 parent 27fe072 commit 519864b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build-and-release-macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
matrix:
1818
# pg_version: ["13.14", "14.11", "15.6", "16.2"]
1919
pg_version: ["13.14", "14.11"]
20-
os: [macos-15-large, macos-15-xlarge]
20+
# os: [macos-15-large, macos-15-xlarge]
21+
os: [macos-15-large]
2122
runs-on: ${{ matrix.os }}
2223
defaults:
2324
run:

scripts/build-postgres-darwin.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ mkdir -p $TRG_DIR $SRC_DIR $INSTALL_DIR
3737

3838
# Install Homebrew dependencies
3939
brew update
40-
brew install pkg-config icu4c libxml2 libxslt openssl@3 zlib perl python3 patchelf curl cmake pcre boost
40+
brew install pkg-config icu4c libxml2 libxslt openssl@3 zlib perl python3 patchelf curl cmake pcre boost gettext
4141

4242
# Dynamically set environment variables for Homebrew dependencies using brew --prefix
43-
export PATH="$(brew --prefix icu4c)/bin:$(brew --prefix icu4c)/sbin:$(brew --prefix python3)/bin:$(brew --prefix pcre)/bin:$PATH"
44-
export LDFLAGS="-L$(brew --prefix icu4c)/lib -L$(brew --prefix openssl@3)/lib -L$(brew --prefix pcre)/lib -L$(brew --prefix boost)/lib -L$INSTALL_DIR/lib"
45-
export CPPFLAGS="-I$(brew --prefix icu4c)/include -I$(brew --prefix openssl@3)/include -I$(brew --prefix pcre)/include -I$(brew --prefix boost)/include -I$INSTALL_DIR/include"
43+
export PATH="$(brew --prefix icu4c)/bin:$(brew --prefix icu4c)/sbin:$(brew --prefix python3)/bin:$(brew --prefix pcre)/bin:$(brew --prefix gettext)/bin:$PATH"
44+
export LDFLAGS="-L$(brew --prefix icu4c)/lib -L$(brew --prefix openssl@3)/lib -L$(brew --prefix pcre)/lib -L$(brew --prefix boost)/lib -L$(brew --prefix gettext)/lib -L$INSTALL_DIR/lib"
45+
export CPPFLAGS="-I$(brew --prefix icu4c)/include -I$(brew --prefix openssl@3)/include -I$(brew --prefix pcre)/include -I$(brew --prefix boost)/include -I$(brew --prefix gettext)/include -I$INSTALL_DIR/include"
4646
export PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig:$(brew --prefix openssl@3)/lib/pkgconfig:$INSTALL_DIR/lib/pkgconfig"
4747

4848
# Set Python path dynamically

0 commit comments

Comments
 (0)