Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit b59f2f1

Browse files
authored
Merge pull request #756 from xwu2git/master
merge to v21.3
2 parents efd2f5d + e534e14 commit b59f2f1

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ endif()
1010
if (NOT DEFINED PLATFORM)
1111
set(PLATFORM "Xeon")
1212
endif()
13-
if (NOT DEFINED FRAMEWORK)
14-
set(FRAMEWORK "gst")
15-
endif()
13+
set(FRAMEWORK "gst")
1614
if (NOT DEFINED SCENARIO)
1715
set(SCENARIO "traffic")
1816
endif()
@@ -80,5 +78,5 @@ endforeach()
8078
execute_process(COMMAND printf "\n\nThis script will build third party components licensed under various open source licenses into your container images. The terms under which those components may be used and distributed can be found with the license document that is provided with those components. Please familiarize yourself with those terms to ensure your distribution of those components complies with the terms of those licenses.\n\n")
8179

8280

83-
execute_process(COMMAND printf "\n-- Setting: PLATFORM=${PLATFORM}, SCENARIO=${SCENARIO}, NOFFICES=${NOFFICES}, NCAMERAS=${NCAMERAS}, NANALYTICS=${NANALYTICS}, FRAMEWORK=${FRAMEWORK}, NETWORK=${NETWORK}\n")
81+
execute_process(COMMAND printf "\n-- Setting: PLATFORM=${PLATFORM}, SCENARIO=${SCENARIO}, NOFFICES=${NOFFICES}, NCAMERAS=${NCAMERAS}, NANALYTICS=${NANALYTICS}, NETWORK=${NETWORK}\n")
8482
execute_process(COMMAND printf "-- Setting: REGISTRY=${REGISTRY}\n")

deployment/kubernetes/helm/smtc/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ Expand the platform device name.
160160
*/}}
161161
{{- define "smtc.platform.device" }}
162162
{{- if eq "vcac-a" ( include "smtc.platform.suffix" . ) }}
163-
{{- "hddl" }}
163+
{{- "HDDL" }}
164164
{{- else }}
165-
{{- "cpu" }}
165+
{{- "CPU" }}
166166
{{- end }}
167167
{{- end }}
168168

doc/cmake.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Use the following definitions to customize the building process:
55
- **REGISTRY**: Specify the URL of the privcay docker registry.
66
- **PLATFORM**: Specify the target platform: `Xeon` or [`VCAC-A`](vcac-a.md).
7-
- **FRAMEWORK**: Specify the target framework: `gst` or `ffmpeg` , Now `gst` is enabled.
87
- **SCENARIO**: Specify the sample scenario(s): `traffic`, `stadium`, or their combination `traffic,stadium`. As each scenario runs its own set of services and databases, it is recommended that you run multiple scenarios only on a multiple-node deployment setting.
98
- **NOFFICES**: Specify the number of offices in the deployment. Support 1-3 offices in the traffic scenario and 1 office in the stadium scenario.
109
- **NCAMERAS**: Specify the number of cameras served in each office. Currently support 1-8 cameras. In the **stadium** scenario, you can specify the camera numbers as `<#service_queue_counting>,[#crowd_counting],[#entrance_counting]`.
@@ -25,12 +24,12 @@ cmake -DNOFFICES=3 -DPLATFORM=Xeon ..
2524

2625
```
2726
cd build
28-
cmake -DPLATFORM=Xeon -DSCENARIO=traffic -DNOFFICES=3 -DNCAMERAS=5 -DNANALYTICS=3 FRAMEWORK=gst ..
27+
cmake -DPLATFORM=Xeon -DSCENARIO=traffic -DNOFFICES=3 -DNCAMERAS=5 -DNANALYTICS=3 ..
2928
```
3029

3130
```
3231
cd build
33-
cmake -DPLATFORM=Xeon -DSCENARIO=stadium -DNOFFICES=1 -DNCAMERAS=5,1,3 -DNANALYTICS=5,1,3 FRAMEWORK=gst ..
32+
cmake -DPLATFORM=Xeon -DSCENARIO=stadium -DNOFFICES=1 -DNCAMERAS=5,1,3 -DNANALYTICS=5,1,3 ..
3433
```
3534

3635
### Make Commands:

0 commit comments

Comments
 (0)