File tree Expand file tree Collapse file tree 6 files changed +32
-7
lines changed Expand file tree Collapse file tree 6 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -191,14 +191,14 @@ endif
191
191
.PHONY : dependencies-mac dependencies-debian dependencies-fedora dependencies-vcpkg dependencies-win
192
192
193
193
dependencies-mac : # # install dependencies for mac
194
- HOMEBREW_NO_AUTO_UPDATE=1 brew install bison cmake flex make ninja
194
+ HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf autoconf-archive automake bison cmake flex libtool make ninja pkg-config
195
195
brew unlink bison flex && brew link --force bison flex
196
196
197
197
dependencies-debian : # # install dependencies for linux
198
- apt-get install -y automake bison cmake curl flex ninja-build tar unzip zip
198
+ apt-get install -y autoconf autoconf-archive automake bison cmake curl flex libtool ninja-build pkg-config tar unzip zip
199
199
200
200
dependencies-fedora : # # install dependencies for linux
201
- yum install -y automake bison ccache cmake curl flex perl-IPC-Cmd tar unzip zip
201
+ yum install -y autoconf autoconf-archive automake bison ccache cmake curl flex libtool perl-IPC-Cmd pkg-config tar unzip zip
202
202
203
203
dependencies-vcpkg : # # install dependencies via vcpkg
204
204
cd vcpkg && ./bootstrap-vcpkg.sh && ./vcpkg install
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.7.2)
2
2
3
3
if (CSP_USE_VCPKG )
4
4
find_package (RdKafka CONFIG REQUIRED )
5
+ if (NOT WIN32 )
6
+ # Bad, but a temporary workaround for
7
+ # https://github.com/microsoft/vcpkg/issues/40320
8
+ link_directories (${VCPKG_INSTALLED_DIR} /${VCPKG_TARGET_TRIPLET}/lib )
9
+ endif ()
5
10
else ()
6
11
find_package (RdKafka REQUIRED )
7
12
endif ()
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set_target_properties(csp_kafka_adapter PROPERTIES PUBLIC_HEADER "${KAFKA_HEADER
22
22
23
23
find_package (DepsKafkaAdapter REQUIRED )
24
24
25
- target_link_libraries (csp_kafka_adapter PRIVATE csp_adapter_utils RdKafka::rdkafka RdKafka::rdkafka++ )
25
+ target_link_libraries (csp_kafka_adapter PUBLIC csp_adapter_utils RdKafka::rdkafka RdKafka::rdkafka++ )
26
26
27
27
install (TARGETS csp_kafka_adapter
28
28
PUBLIC_HEADER DESTINATION include /csp/adapters/kafka
Original file line number Diff line number Diff line change @@ -164,14 +164,18 @@ rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux &&
164
164
dnf config-manager --set-enabled powertools &&
165
165
dnf install epel-release -y &&
166
166
make dependencies-fedora
167
+ export ACLOCAL_PATH="/usr/share/aclocal:$(printenv ACLOCAL_PATH)"
167
168
"""
168
169
environment = {CSP_MANYLINUX =" ON" }
169
170
repair-wheel-command = " auditwheel -v show {wheel} && LD_LIBRARY_PATH=/project/csp/lib auditwheel -v repair -w {dest_dir} {wheel}"
170
171
skip = " *i686 musllinux*"
171
172
manylinux-x86_64-image = " manylinux_2_28"
172
173
173
174
[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
+ """
175
179
archs = " x86_64" # NOTE: we use gcc and we cannot cross compile for now
176
180
177
181
[tool .cibuildwheel .windows ]
Original file line number Diff line number Diff line change 7
7
" boost-beast" ,
8
8
" boost-multi-index" ,
9
9
" brotli" ,
10
+ {
11
+ "name" : " cyrus-sasl" ,
12
+ "platform" : " !windows"
13
+ },
10
14
" exprtk" ,
11
15
" gtest" ,
16
+ {
17
+ "name" : " krb5" ,
18
+ "platform" : " !windows"
19
+ },
12
20
{
13
21
"name" : " librdkafka" ,
14
22
"features" : [
23
+ {
24
+ "name" : " sasl" ,
25
+ "platform" : " !windows"
26
+ },
15
27
" ssl"
16
28
]
17
29
},
30
+ {
31
+ "name" : " lmdb" ,
32
+ "platform" : " !windows"
33
+ },
18
34
" lz4" ,
19
35
" openssl" ,
20
36
" parquet" ,
30
46
"port-version" : 1
31
47
}
32
48
],
33
- "builtin-baseline" : " 1b5f7346612cd63910567df714d867f5b3fa8e3b "
49
+ "builtin-baseline" : " 6af584dd59aa5bdba75dae6781ec74614e03e5b9 "
34
50
}
You can’t perform that action at this time.
0 commit comments