Skip to content

Commit b866e80

Browse files
authored
Package - Updates (#1420)
* Package - Updates * Changelog - Fix
1 parent 45d94d6 commit b866e80

File tree

4 files changed

+95
-54
lines changed

4 files changed

+95
-54
lines changed

CHANGELOG.md

Lines changed: 58 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,47 @@
55
Documentation for MIVisionX is available at
66
[https://rocm.docs.amd.com/projects/MIVisionX/en/latest/doxygen/html/index.html](https://rocm.docs.amd.com/projects/MIVisionX/en/latest/doxygen/html/index.html)
77

8-
## MIVisionX 3.0.0
8+
## MIVisionX 3.1.0 (unreleased)
99

10-
### Additions
10+
### Changes
11+
* Setup: rocdecode install disabled
12+
* Package: rocdecode dependency removed
13+
14+
### Removals
15+
16+
### Optimizations
17+
18+
### Resolved issues
19+
20+
### Known issues
21+
* Package install requires `OpenCV` manual install
22+
* CentOS/RedHat/SLES requires `FFMPEG Dev` package manual install
23+
* Hardware decode requires rocm usecase `graphics`
24+
25+
### Upcoming changes
26+
* Optimized audio augmentations support for VX_RPP
27+
28+
### Tested configurations
1129

30+
* Windows `10` / `11`
31+
* Linux distribution
32+
+ Ubuntu - `20.04` / `22.04`
33+
+ CentOS - `7`
34+
+ RHEL - `8` / `9`
35+
+ SLES - `15-SP5`
36+
* ROCm: rocm-core - `6.3.0.60300`
37+
* RPP - `1.9.0.60300`
38+
* miopen-hip - `3.2.0.60300`
39+
* migraphx - `2.11.0.60300`
40+
* OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0)
41+
* FFMPEG - [n4.4.2](https://github.com/FFmpeg/FFmpeg/releases/tag/n4.4.2)
42+
* Dependencies for all the above packages
43+
* MIVisionX Setup Script - `V3.7.0`
44+
45+
## MIVisionX 3.0.0 for ROCm 6.3.0
46+
47+
### Changes
48+
1249
* Support for advanced GPUs
1350
* Support for PreEmphasis Filter augmentation in openVX extensions
1451
* Support for Spectrogram augmentation in openVX extensions
@@ -18,21 +55,31 @@ Documentation for MIVisionX is available at
1855
* Support for Mel-Filter bank and Normalize augmentations in openVX extensions
1956
* Tests - New Tests for all modules
2057

58+
### Removals
59+
60+
* rocAL: Deprecated with V3.0.0, rocAL will be available at https://github.com/ROCm/rocAL
61+
2162
### Optimizations
22-
63+
2364
* Readme
2465
* Setup - CentOS 7 support
2566
* Setup - SLES 15 SP5 support
2667
* FindPackage modules updated - FindMIVisionX
68+
69+
### Resolved issues
70+
71+
* MIVisionX compatibility fix - Resample and pre-emphasis filter
72+
* Docs - fix broken image links
73+
74+
### Known issues
2775

28-
### Changes
29-
30-
* rocAL: Deprecated with V3.0.0, rocAL will be available at https://github.com/ROCm/rocAL
31-
32-
### Fixes
33-
34-
* Dependencies
35-
* Setup bugfix
76+
* Package install requires `OpenCV` manual install
77+
* CentOS/RedHat/SLES requires `FFMPEG Dev` package manual install
78+
* Hardware decode requires rocm usecase `graphics`
79+
80+
### Upcoming changes
81+
82+
* Optimized audio augmentations support for VX_RPP
3683

3784
### Tested configurations
3885

@@ -51,11 +98,6 @@ Documentation for MIVisionX is available at
5198
* Dependencies for all the above packages
5299
* MIVisionX Setup Script - `V3.6.0`
53100

54-
### Known issues
55-
56-
* Package install requires `OpenCV V4.6` manual install
57-
* CentOS/RedHat/SLES requires `FFMPEG Dev` package manual install
58-
59101
## MIVisionX 2.5.0
60102

61103
### Additions

CMakeLists.txt

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
# THE SOFTWARE.
2020
cmake_minimum_required(VERSION 3.5)
21-
set(VERSION "3.0.0")
21+
set(VERSION "3.1.0")
2222

2323
# Set Project Version and Language
2424
project(mivisionx VERSION ${VERSION} LANGUAGES CXX)
@@ -217,23 +217,22 @@ if(DEFINED ENV{CPACK_RPM_PACKAGE_RELEASE})
217217
endif()
218218

219219
# Set the dependent packages
220-
set(MIVISIONX_DEBIAN_PACKAGE_LIST "rocm-hip-runtime, rpp, rocblas, miopen-hip, migraphx")
221-
set(MIVISIONX_RPM_PACKAGE_LIST "rocm-hip-runtime, rpp, rocblas, miopen-hip, migraphx")
220+
set(MIVISIONX_RUNTIME_PACKAGE_LIST "rocm-hip-runtime, rpp, rocblas, miopen-hip, migraphx")
221+
222222
# Set the dev dependent packages
223-
set(MIVISIONX_DEBIAN_DEV_PACKAGE_LIST "rocm-hip-runtime-dev, half, rpp-dev, rocblas-dev, miopen-hip-dev, migraphx-dev, ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev")
223+
set(MIVISIONX_DEBIAN_DEV_PACKAGE_LIST "half, rocm-hip-runtime-dev, rpp-dev, rocblas-dev, miopen-hip-dev, migraphx-dev, ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev")
224224
# TBD - Some RPM packages need Fusion Packages - ffmpeg, libavcodec-devel, libavformat-devel, libavutil-devel, libswscale-devel
225-
set(MIVISIONX_RPM_DEV_PACKAGE_LIST "rocm-hip-runtime-devel, half, rpp-devel, rocblas-devel, miopen-hip-devel, migraphx-devel")
225+
set(MIVISIONX_RPM_DEV_PACKAGE_LIST "half, rocm-hip-runtime-devel, rpp-devel, rocblas-devel, miopen-hip-devel, migraphx-devel")
226226

227227
# Add rocDecode Deps - Exclude centos-7
228228
if (EXISTS "/etc/os-release")
229229
file(READ "/etc/os-release" OS_RELEASE)
230230
string(REGEX MATCH "CentOS-7" CENTOS_7_FOUND ${OS_RELEASE})
231-
if(NOT CENTOS_7_FOUND)
232-
set(MIVISIONX_DEBIAN_PACKAGE_LIST "${MIVISIONX_DEBIAN_PACKAGE_LIST}, rocdecode")
233-
set(MIVISIONX_RPM_PACKAGE_LIST "${MIVISIONX_RPM_PACKAGE_LIST}, rocdecode")
234-
set(MIVISIONX_DEBIAN_DEV_PACKAGE_LIST "${MIVISIONX_DEBIAN_DEV_PACKAGE_LIST}, rocdecode-dev")
235-
set(MIVISIONX_RPM_DEV_PACKAGE_LIST "${MIVISIONX_RPM_DEV_PACKAGE_LIST}, rocdecode-devel")
236-
endif()
231+
#if(NOT CENTOS_7_FOUND) - Disable TBD: Turn on with package update
232+
#set(MIVISIONX_RUNTIME_PACKAGE_LIST "${MIVISIONX_RUNTIME_PACKAGE_LIST}, rocdecode")
233+
#set(MIVISIONX_DEBIAN_DEV_PACKAGE_LIST "${MIVISIONX_DEBIAN_DEV_PACKAGE_LIST}, rocdecode-dev")
234+
#set(MIVISIONX_RPM_DEV_PACKAGE_LIST "${MIVISIONX_RPM_DEV_PACKAGE_LIST}, rocdecode-devel")
235+
#endif()
237236
endif()
238237

239238
# '%{?dist}' breaks manual builds on debian systems due to empty Provides
@@ -255,25 +254,25 @@ set(CPACK_RPM_PACKAGE_AUTOREQPROV "no")
255254
# Debian package - COMPONENT
256255
set(CPACK_DEB_COMPONENT_INSTALL ON)
257256
set(CPACK_DEBIAN_RUNTIME_PACKAGE_NAME "${PROJECT_NAME}")
258-
set(CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS "rocm-core, ${MIVISIONX_DEBIAN_PACKAGE_LIST}")
257+
set(CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS "rocm-core, ${MIVISIONX_RUNTIME_PACKAGE_LIST}")
259258
set(CPACK_DEBIAN_DEV_PACKAGE_NAME "${PROJECT_NAME}-dev")
260259
set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS
261260
"rocm-core, ${CPACK_DEBIAN_RUNTIME_PACKAGE_NAME}, ${MIVISIONX_DEBIAN_DEV_PACKAGE_LIST}")
262261
# Debian package - specific variable for ASAN
263262
set(CPACK_DEBIAN_ASAN_PACKAGE_NAME "${PROJECT_NAME}-asan" )
264-
set(CPACK_DEBIAN_ASAN_PACKAGE_DEPENDS "rocm-core-asan, ${MIVISIONX_DEBIAN_PACKAGE_LIST}" )
263+
set(CPACK_DEBIAN_ASAN_PACKAGE_DEPENDS "rocm-core-asan, ${MIVISIONX_RUNTIME_PACKAGE_LIST}" )
265264
# Debian package - Test
266265
set(CPACK_DEBIAN_TEST_PACKAGE_NAME "${PROJECT_NAME}-test" )
267266
set(CPACK_DEBIAN_TEST_PACKAGE_DEPENDS "rocm-core, ${CPACK_DEBIAN_DEV_PACKAGE_NAME}" )
268267
# RPM package - COMPONENT
269268
set(CPACK_RPM_COMPONENT_INSTALL ON)
270269
set(CPACK_RPM_RUNTIME_PACKAGE_NAME "${PROJECT_NAME}")
271-
set(CPACK_RPM_RUNTIME_PACKAGE_REQUIRES "rocm-core, ${MIVISIONX_RPM_PACKAGE_LIST}")
270+
set(CPACK_RPM_RUNTIME_PACKAGE_REQUIRES "rocm-core, ${MIVISIONX_RUNTIME_PACKAGE_LIST}")
272271
set(CPACK_RPM_DEV_PACKAGE_NAME "${PROJECT_NAME}-devel")
273272
set(CPACK_RPM_DEV_PACKAGE_REQUIRES "rocm-core, ${CPACK_RPM_RUNTIME_PACKAGE_NAME}, ${MIVISIONX_RPM_DEV_PACKAGE_LIST}")
274273
# RPM package - specific variable for ASAN
275274
set(CPACK_RPM_ASAN_PACKAGE_NAME "${PROJECT_NAME}-asan" )
276-
set(CPACK_RPM_ASAN_PACKAGE_REQUIRES "rocm-core-asan, ${MIVISIONX_RPM_PACKAGE_LIST}" )
275+
set(CPACK_RPM_ASAN_PACKAGE_REQUIRES "rocm-core-asan, ${MIVISIONX_RUNTIME_PACKAGE_LIST}" )
277276
# RPM package specific variable for ASAN
278277
set(CPACK_RPM_TEST_PACKAGE_NAME "${PROJECT_NAME}-test" )
279278
set(CPACK_RPM_TEST_PACKAGE_REQUIRES "rocm-core, ${CPACK_RPM_DEV_PACKAGE_NAME}" )

MIVisionX-setup.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
__copyright__ = "Copyright 2018 - 2024, AMD ROCm MIVisionX"
3232
__license__ = "MIT"
33-
__version__ = "3.6.0"
33+
__version__ = "3.7.0"
3434
__email__ = "[email protected]"
3535
__status__ = "Shipping"
3636

@@ -295,7 +295,7 @@ def ERROR_CHECK(call):
295295
pipNNEFversion = "nnef==1.0.7"
296296
if "VERSION_ID=7" in os_info_data or "VERSION_ID=8" in os_info_data:
297297
pipNumpyVersion = "numpy==1.19.5"
298-
pipNNEFversion = "protobuf==3.12.4" # TBD: NO NNEF Package for SLES
298+
pipNNEFversion = "protobuf==3.12.4" # TBD: NO NNEF Package for RHEL 7/8
299299
if "NAME=SLES" in os_info_data:
300300
pipNumpyVersion = "numpy==1.19.5"
301301
pipProtoVersion= "protobuf==3.19.5"
@@ -399,15 +399,15 @@ def ERROR_CHECK(call):
399399
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
400400
' '+linuxSystemInstall_check+' install -y '+ rppRPMPackages[i]))
401401

402-
# rocDecode
403-
if "Ubuntu" in platfromInfo:
404-
for i in range(len(rocdecodeDebianPackages)):
405-
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
406-
' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i]))
407-
elif "redhat-7" not in platfromInfo:
408-
for i in range(len(rocdecodeRPMPackages)):
409-
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
410-
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i]))
402+
# rocDecode - Disable -- TBD: Turn on with package update
403+
# if "Ubuntu" in platfromInfo:
404+
# for i in range(len(rocdecodeDebianPackages)):
405+
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
406+
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i]))
407+
# elif "redhat-7" not in platfromInfo:
408+
# for i in range(len(rocdecodeRPMPackages)):
409+
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
410+
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i]))
411411

412412
print("\nMIVisionX Dependencies Re-Installed with MIVisionX-setup.py V-"+__version__+" on "+platfromInfo+"\n")
413413
exit()
@@ -494,15 +494,15 @@ def ERROR_CHECK(call):
494494
else:
495495
print("\nSTATUS: MIVisionX Setup: AMD VX RPP only supported with HIP backend\n")
496496

497-
# rocDecode
498-
if "Ubuntu" in platfromInfo:
499-
for i in range(len(rocdecodeDebianPackages)):
500-
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
501-
' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i]))
502-
elif "redhat-7" not in platfromInfo:
503-
for i in range(len(rocdecodeRPMPackages)):
504-
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
505-
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i]))
497+
# rocDecode - Disable TBD: Turn on with package update
498+
# if "Ubuntu" in platfromInfo:
499+
# for i in range(len(rocdecodeDebianPackages)):
500+
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
501+
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i]))
502+
# elif "redhat-7" not in platfromInfo:
503+
# for i in range(len(rocdecodeRPMPackages)):
504+
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall +
505+
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i]))
506506

507507
# Install ffmpeg
508508
if ffmpegInstall == 'ON':

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,12 @@ Review all notable [changes](CHANGELOG.md#changelog) with the latest release
309309
* OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0)
310310
* FFMPEG - [n4.4.2](https://github.com/FFmpeg/FFmpeg/releases/tag/n4.4.2)
311311
* Dependencies for all the above packages
312-
* MIVisionX Setup Script - `V3.6.0`
312+
* MIVisionX Setup Script - `V3.7.0`
313313
314314
### Known issues
315315
316-
* OpenCV 4.X support for some apps missing
317-
* MIVisionX Package install requires manual prerequisites installation
316+
* Package install `OpenCV` manual install
317+
* Package install in `RHEL`/`SLES`/`CentOS` requires manual `FFMPEG Dev` install
318318
319319
## MIVisionX dependency map
320320

0 commit comments

Comments
 (0)