-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (47 loc) · 1.79 KB
/
Makefile
File metadata and controls
60 lines (47 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright © 2026 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
.PHONY: init-mdpnp build-mdpnp build-dds-bridge run down download-rppg-assets
HTTP_PROXY := $(or $(HTTP_PROXY),$(http_proxy))
HTTPS_PROXY := $(or $(HTTPS_PROXY),$(https_proxy))
NO_PROXY := $(or $(NO_PROXY),$(no_proxy))
export HTTP_PROXY
export HTTPS_PROXY
export NO_PROXY
MDPNP_PATH := services/mdpnp/mdpnp
DDS_BRIDGE_PATH := services/dds-bridge
DOCKER_COMPOSE := docker-compose.yaml
REGISTRY ?= true
# Detect host IP for UI/backend communication (first non-loopback address)
HOST_IP ?= $(shell hostname -I | awk '{print $$1}')
export HOST_IP
TAG ?= 2026.0-rc1
export TAG
init-mdpnp:
@echo "Initializing mdpnp submodule..."
git submodule update --init $(MDPNP_PATH)
build-mdpnp: init-mdpnp
@echo "Running mdpnp Gradle makeFlatRuntime..."
cd $(MDPNP_PATH) && ./gradlew :interop-lab:demo-apps:makeFlatRuntime
build-dds-bridge:
@echo "Running dds-bridge build..."
cd $(DDS_BRIDGE_PATH) && ./gradlew clean build
run:
@if [ "$(REGISTRY)" = "true" ]; then \
echo "##############Using registry mode - fetching all images..."; \
echo "Using HOST_IP=$(HOST_IP) for UI backend"; \
./run_compose.sh -d; \
else \
echo "Using HOST_IP=$(HOST_IP) for UI backend"; \
./run_compose.sh --build -d; \
fi
@echo "==============================================="
@echo "Multi-modal patient monitoring application is starting up."
@echo "Please access the UI at: http://$(HOST_IP):3000"
@echo "==============================================="
down:
@echo "Tearing down the services..."
docker compose -f $(DOCKER_COMPOSE) down
download-rppg-assets:
@echo "Downloading RPPG model and sample video assets..."
cd services/rppg-service && python3 scripts/download_assets.py
@echo "RPPG assets download complete."