-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
95 additions
and
54 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.6.0" | ||
__version__ = "3.7.0" | ||
__email__ = "[email protected]" | ||
__status__ = "Shipping" | ||
|
||
|
@@ -295,7 +295,7 @@ def ERROR_CHECK(call): | |
pipNNEFversion = "nnef==1.0.7" | ||
if "VERSION_ID=7" in os_info_data or "VERSION_ID=8" in os_info_data: | ||
pipNumpyVersion = "numpy==1.19.5" | ||
pipNNEFversion = "protobuf==3.12.4" # TBD: NO NNEF Package for SLES | ||
pipNNEFversion = "protobuf==3.12.4" # TBD: NO NNEF Package for RHEL 7/8 | ||
if "NAME=SLES" in os_info_data: | ||
pipNumpyVersion = "numpy==1.19.5" | ||
pipProtoVersion= "protobuf==3.19.5" | ||
|
@@ -399,15 +399,15 @@ def ERROR_CHECK(call): | |
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])) | ||
elif "redhat-7" not in platfromInfo: | ||
for i in range(len(rocdecodeRPMPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i])) | ||
# rocDecode - Disable -- TBD: Turn on with package update | ||
# if "Ubuntu" in platfromInfo: | ||
# for i in range(len(rocdecodeDebianPackages)): | ||
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i])) | ||
# elif "redhat-7" not in platfromInfo: | ||
# 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__+" on "+platfromInfo+"\n") | ||
exit() | ||
|
@@ -494,15 +494,15 @@ def ERROR_CHECK(call): | |
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])) | ||
elif "redhat-7" not in platfromInfo: | ||
for i in range(len(rocdecodeRPMPackages)): | ||
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
' '+linuxSystemInstall_check+' install -y '+ rocdecodeRPMPackages[i])) | ||
# rocDecode - Disable TBD: Turn on with package update | ||
# if "Ubuntu" in platfromInfo: | ||
# for i in range(len(rocdecodeDebianPackages)): | ||
# ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall + | ||
# ' '+linuxSystemInstall_check+' install -y '+ rocdecodeDebianPackages[i])) | ||
# elif "redhat-7" not in platfromInfo: | ||
# 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