Skip to content

Commit

Permalink
Try passing meson arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Feb 16, 2025
1 parent 970ca0b commit 1b46fe4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mk/spksrc.wheel-compile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,12 @@ cross-compile-wheel-%:
exit 2 ; \
fi ; \
if [ "$(PIP_GLOBAL_OPTION)" ]; then \
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/=\([^ ]*\)/="\1"/g; s/[^ ]*/--global-option=&/g') ; \
pip_global_option=$${pip_global_option}" --no-use-pep517" ; \
if echo "$(PIP_GLOBAL_OPTION)" | grep -q -- "--config-settings"; then \
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/--config-settings=\([^ ]*\)/\1/g; s/=\([^ ]*\)/="\1"/g; s/[^ ]*/--config-settings=&/g') ; \
else \
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/=\([^ ]*\)/="\1"/g; s/[^ ]*/--global-option=&/g') ; \
pip_global_option=$${pip_global_option}" --no-use-pep517" ; \
fi ; \
fi ; \
$(MSG) \
_PYTHON_HOST_PLATFORM=\"$(TC_TARGET)\" \
Expand Down
6 changes: 6 additions & 0 deletions spk/duplicity/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ SPK_USR_LOCAL_LINKS += bin:bin/duply

include ../../mk/spksrc.python.mk

# [duplicity]
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS) $(ARMv8_ARCHS) qoriq),$(ARCH))
WHEELS_BUILD_ARGS = [duplicity]
WHEELS_BUILD_ARGS += --config-settings=setup-args="-Dimplicit_include_directories=false"
endif

# [cryptography]
DEPENDS += cross/cryptography

Expand Down

0 comments on commit 1b46fe4

Please # to comment.