fix i386
This commit is contained in:
parent
403424c04a
commit
00fd204d2e
6
debian/control
vendored
6
debian/control
vendored
@ -14,8 +14,8 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
python3-mako,
|
python3-mako,
|
||||||
python3-setuptools,
|
python3-setuptools,
|
||||||
python3-wheel,
|
python3-wheel,
|
||||||
python3-numpy,
|
python3-numpy [!i386],
|
||||||
python3-matplotlib,
|
python3-matplotlib [!i386],
|
||||||
pkg-config,
|
pkg-config,
|
||||||
glslang-tools,
|
glslang-tools,
|
||||||
mesa-common-dev,
|
mesa-common-dev,
|
||||||
@ -25,7 +25,7 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
libglew-dev,
|
libglew-dev,
|
||||||
libopengl-dev,
|
libopengl-dev,
|
||||||
nlohmann-json3-dev,
|
nlohmann-json3-dev,
|
||||||
libnvidia-ml-dev,
|
libnvidia-ml-dev [!i386],
|
||||||
libglfw3-dev,
|
libglfw3-dev,
|
||||||
libspdlog-dev,
|
libspdlog-dev,
|
||||||
libx11-dev,
|
libx11-dev,
|
||||||
|
16
debian/rules
vendored
16
debian/rules
vendored
@ -4,7 +4,20 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
ifeq (i386,$(DEB_HOST_ARCH))
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- \
|
||||||
|
--wrap-mode=default \
|
||||||
|
-Dwith_nvml=false \
|
||||||
|
-Dinclude_doc=true \
|
||||||
|
-Dwith_xnvctrl=enabled \
|
||||||
|
-Dwith_x11=enabled \
|
||||||
|
-Dwith_wayland=enabled \
|
||||||
|
-Dwith_dbus=enabled \
|
||||||
|
-Dmangoapp=true \
|
||||||
|
-Dmangohudctl=true \
|
||||||
|
-Dmangoapp_layer=true
|
||||||
|
else
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- \
|
dh_auto_configure -- \
|
||||||
--wrap-mode=default \
|
--wrap-mode=default \
|
||||||
@ -17,3 +30,4 @@ override_dh_auto_configure:
|
|||||||
-Dmangoapp=true \
|
-Dmangoapp=true \
|
||||||
-Dmangohudctl=true \
|
-Dmangohudctl=true \
|
||||||
-Dmangoapp_layer=true
|
-Dmangoapp_layer=true
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user