update the the rocDecode-setup script - add libstdc++12, and remove unused libavsws-dev (#105)

This commit is contained in:
Aryan Salmanpour
2023-11-30 10:08:38 -05:00
committed by GitHub
parent 449572f9bf
commit 5beedfdd55
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -186,9 +186,9 @@ if(HIP_FOUND AND Libva_FOUND AND Libdrm_FOUND)
set(rocDecode_DEBIAN_PACKAGE_LIST "libva-dev, libdrm-dev")
set(rocDecode_RPM_PACKAGE_LIST "libva-devel, libdrm-devel")
# Set the dev dependent packages
set(rocDecode_DEBIAN_DEV_PACKAGE_LIST "ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev")
set(rocDecode_DEBIAN_DEV_PACKAGE_LIST "ffmpeg, libavcodec-dev, libavformat-dev, libavutil-dev")
# TBD - RPM packages need Fusion Packages
#set(rocDecode_RPM_DEV_PACKAGE_LIST "ffmpeg, libavcodec-devel, libavformat-devel, libavutil-devel, libswscale-devel")
#set(rocDecode_RPM_DEV_PACKAGE_LIST "ffmpeg, libavcodec-devel, libavformat-devel, libavutil-devel")
# '%{?dist}' breaks manual builds on debian systems due to empty Provides
execute_process(
+2 -2
View File
@@ -124,7 +124,7 @@ os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' ' +
if "Ubuntu" in platfromInfo:
os.system('sudo -v')
os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' '+linuxSystemInstall_check +
' install vainfo libva-dev libdrm-dev')
' install vainfo libva-dev libdrm-dev libstdc++-12-dev')
else:
os.system('sudo -v')
os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' '+linuxSystemInstall_check +
@@ -135,7 +135,7 @@ if developerInstall == 'ON':
if "Ubuntu" in platfromInfo:
os.system('sudo -v')
os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' '+linuxSystemInstall_check +
' install ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev')
' install ffmpeg libavcodec-dev libavformat-dev libavutil-dev')
else:
os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' '+linuxSystemInstall_check +
' install autoconf automake bzip2 bzip2-devel freetype-devel')