-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMakeList Updates - ROCm 6.2 Updates (#1349)
* CMakeList Updates - ROCm 6.2 Updates * Docker and setup - Fix and updates * CMakeList - Fix MI300 Link * Docker - Cleanup * BUILD_WITH_AMD_ADVANCE - Auto set with ROCm Version * rocDecode - Add only for not CentOS7
- Loading branch information
1 parent
cdd3e24
commit b2f7f6e
Showing
28 changed files
with
95 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
|
||
__copyright__ = "Copyright 2018 - 2024, AMD ROCm MIVisionX" | ||
__license__ = "MIT" | ||
__version__ = "3.1.0" | ||
__version__ = "3.2.0" | ||
__email__ = "[email protected]" | ||
__status__ = "Shipping" | ||
|
||
|
@@ -279,6 +279,16 @@ def ERROR_CHECK(call): | |
'rpp-devel' | ||
] | ||
|
||
rocdecodeDebianPackages = [ | ||
'rocdecode', | ||
'rocdecode-dev' | ||
] | ||
|
||
rocdecodeRPMPackages = [ | ||
'rocdecode', | ||
'rocdecode-devel' | ||
] | ||
|
||
opencvDebianPackages = [ | ||
'build-essential', | ||
'pkg-config', | ||
|
@@ -333,6 +343,16 @@ def ERROR_CHECK(call): | |
for i in range(len(rppRPMPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rppRPMPackages[i])) | ||
|
||
# rocDecode | ||
if "Ubuntu" in platfromInfo: | ||
for i in range(len(rocdecodeDebianPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i])) | ||
else: | ||
for i in range(len(rocdecodeRPMPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i])) | ||
|
||
print("\nMIVisionX Dependencies Re-Installed with MIVisionX-setup.py V-"+__version__+"\n") | ||
exit() | ||
|
@@ -412,6 +432,16 @@ def ERROR_CHECK(call): | |
' '+linuxSystemInstall_check+' install -y '+ rppRPMPackages[i])) | ||
else: | ||
print("\nSTATUS: MIVisionX Setup: AMD VX RPP only supported with HIP backend\n") | ||
|
||
# rocDecode | ||
if "Ubuntu" in platfromInfo: | ||
for i in range(len(rocdecodeDebianPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i])) | ||
else: | ||
for i in range(len(rocdecodeRPMPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i])) | ||
|
||
# Install ffmpeg | ||
if ffmpegInstall == 'ON': | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.