Skip to content

Commit 60bacf2

Browse files
robambalualexddobkin
authored andcommitted
cyrus-sasl build on linux and macos
Signed-off-by: alexd <[email protected]>
1 parent 66c4c14 commit 60bacf2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ endif
191191
.PHONY: dependencies-mac dependencies-debian dependencies-fedora dependencies-vcpkg dependencies-win
192192

193193
dependencies-mac: ## install dependencies for mac
194-
HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf autoconf-archive bison cmake flex libtool make ninja pkg-config
194+
HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf autoconf-archive automake bison cmake flex libtool make ninja pkg-config
195195
brew unlink bison flex && brew link --force bison flex
196196

197197
dependencies-debian: ## install dependencies for linux

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,18 @@ rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux &&
164164
dnf config-manager --set-enabled powertools &&
165165
dnf install epel-release -y &&
166166
make dependencies-fedora
167+
export ACLOCAL_PATH="/usr/share/aclocal:$(printenv ACLOCAL_PATH)"
167168
"""
168169
environment = {CSP_MANYLINUX="ON"}
169170
repair-wheel-command = "auditwheel -v show {wheel} && LD_LIBRARY_PATH=/project/csp/lib auditwheel -v repair -w {dest_dir} {wheel}"
170171
skip = "*i686 musllinux*"
171172
manylinux-x86_64-image = "manylinux_2_28"
172173

173174
[tool.cibuildwheel.macos]
174-
before-all ="make dependencies-mac"
175+
before-all ="""
176+
make dependencies-mac
177+
export ACLOCAL_PATH="$(brew --prefix autoconf-archive)/share/aclocal:$(printenv ACLOCAL_PATH)"
178+
"""
175179
archs = "x86_64" # NOTE: we use gcc and we cannot cross compile for now
176180

177181
[tool.cibuildwheel.windows]

0 commit comments

Comments
 (0)