Build openpilot with webcam support in CI (#2070)

old-commit-hash: f4e18e0b74
This commit is contained in:
Adeeb Shihadeh
2020-10-16 15:16:17 -07:00
committed by GitHub
parent f63c297ba8
commit fb935fa5f7
7 changed files with 82 additions and 12 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ if platform.system() == "Darwin":
if arch == "aarch64" and TICI:
arch = "larch64"
webcam = bool(ARGUMENTS.get("use_webcam", 0))
USE_WEBCAM = os.getenv("USE_WEBCAM") is not None
QCOM_REPLAY = arch == "aarch64" and os.getenv("QCOM_REPLAY") is not None
if arch == "aarch64" or arch == "larch64":
@@ -261,7 +261,7 @@ def abspath(x):
# still needed for apks
zmq = 'zmq'
Export('env', 'qt_env', 'arch', 'zmq', 'SHARED', 'webcam', 'QCOM_REPLAY')
Export('env', 'qt_env', 'arch', 'zmq', 'SHARED', 'USE_WEBCAM', 'QCOM_REPLAY')
# cereal and messaging are shared with the system
SConscript(['cereal/SConscript'])