Skip to content

Commit

Permalink
homeassistant: Use ADDITIONAL_CROSSENV_WHEELS and crossenv 'activate'
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Apr 2, 2024
1 parent ab0657a commit ef21cf2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spk/homeassistant/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ POST_STRIP_TARGET = homeassistant_extra_install
# Include cross compiled wheels only, the package installer downloads pure python wheels at installation time.
WHEELS = src/requirements-abi3.txt src/requirements-crossenv.txt src/requirements-pure.txt

# stdc++ bindings for webrtc_noise_gain
ADDITIONAL_CROSSENV_WHEELS += pybind11==2.11.1
# for building frozenlist, yarl, ...
ADDITIONAL_CROSSENV_WHEELS += expandvars==0.12.0

# [DTLSSocket] runtime dependency of [tradfri]
DEPENDS += cross/dtlssocket

Expand Down Expand Up @@ -107,9 +112,6 @@ DEPENDS += cross/libxslt

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

# prefer native python tools (pip, maturin, ...)
ENV += PATH=$(realpath $(WORK_DIR)/../../../native/$(PYTHON_PACKAGE)/work-native/install/usr/local/bin):$(PATH)

# [greenlet]
ifeq ($(call version_lt, ${TC_GCC}, 5.0),1)
WHEELS_CPPFLAGS += [greenlet] -std=c++11
Expand Down

0 comments on commit ef21cf2

Please sign in to comment.