public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocdecode] rawhide: Update preview to 10.1
@ 2026-10-07 23:02 Tom Rix
0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-10-07 23:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rocdecode
Branch : rawhide
Commit : 61150d9b674ff0dde00fdc72224c6bfd4548b4f3
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-10-07T16:02:29-07:00
Stats : +7/-78 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rocdecode/c/61150d9b674ff0dde00fdc72224c6bfd4548b4f3?branch=rawhide
Log:
Update preview to 10.1
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/prompts/build.xml b/prompts/build.xml
deleted file mode 100644
index 3099e9b..0000000
--- a/prompts/build.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<purpose>
- You are a Fedora package developer. An expert in Fedora tools rpmbuild and mock. You have good skills with C++ and CMake.
-
- Analyze the current build according to the instructions.
-</purpose>
-
-<instructions>
- <instruction>
- write analysis output to /tmp/<package-name>.txt
- </instruction>
- <instruction>
- Determine if the build was succesful.
- </instruction>
- <instruction>
- Compare build.log files form <test-build> to <baseline-build>
- </instruction>
- <instruction>
- If the build was successful, summarize differences in the build.
- </instruction>
- <instruction>
- If the build was not successful, identify the failure, analyze to get to a root cause, finally suggest the next action to take
- </instruction>
- <instruction>
- If any instruction is confusing, suggest three better at the end of the report.
- </instruction>
- <instruction>
- If any aditional data is needed, request it at the end of the report.
- </instruction>
-
-</instructions>
-
-<package-name>
-
- the package name can be deduced from the spec file and srpm file in parent directory
-
-</package-name>
-
-<baseline-build>
-
- the file build.log in the current directory is a successful build.
- the source build artifacts for build are not available only the build.log
-
-</baseline-build>
-
-<test-build>
-
- The build was made from the parent directory ..
- The build command was
- mock <command-line-parameter> --localrepo=${PWD}/../output <srpm-file>
-
- The build.log file is found with the other mock output at
- ../../output/results/fedora-rawhide-x86_64/<package-name>*/
-
-</test-build>
-
-<srpm-file>
-
- the package srpm is in the parent directory <package-name>*.src.rpm
-
-</srpm-file>
-
-<command-line-parameter>
-
- There may or may not be extra parameters
- <examples>
- <example>
- --with test
- </example>
- <example>
- --with preview
- </example>
- </examples>
-
-</command-line-parameter>
-
-
diff --git a/rocdecode.spec b/rocdecode.spec
index 64dd43f..0877c21 100644
--- a/rocdecode.spec
+++ b/rocdecode.spec
@@ -25,7 +25,7 @@
%bcond_with preview
%if %{with preview}
-%global rocm_release 10.0
+%global rocm_release 10.1
%else
%global rocm_release 10.0
%endif
@@ -82,7 +82,7 @@
Name: rocdecode%{pkg_suffix}
Version: %{rocm_version}
%if %{with preview}
-Release: 1%{?dist}
+Release: 0%{?dist}
%else
Release: 1%{?dist}
%endif
@@ -171,9 +171,14 @@ The rocDecode development package.
sed -i -e 's@set(CMAKE_C_COMPILER ${ROCM_PATH}/lib/llvm/bin/amdclang)@set(CMAKE_C_COMPILER "%rocmllvm_bindir/amdclang")@' {,test/,samples/*/}CMakeLists.txt
sed -i -e 's@set(CMAKE_CXX_COMPILER ${ROCM_PATH}/lib/llvm/bin/amdclang++)@set(CMAKE_CXX_COMPILER "%rocmllvm_bindir/amdclang++")@' {,test/,samples/*/}CMakeLists.txt
+%if %{with preview}
+sed -i -e 's@NO_DEFAULT_PATH@@' cmake/FindLibva.cmake
+sed -i -e 's@NO_DEFAULT_PATH@@' cmake/FindLibdrm_amdgpu.cmake
+%else
# Problems finding va.h
# https://github.com/ROCm/rocDecode/issues/477
sed -i "s|/opt/amdgpu/include NO_DEFAULT_PATH|/usr/include|" cmake/FindLibva.cmake
+%endif
# cpack cruft in the middle of the configure, this breaks TW and is only used for ubuntu
sed -i -e 's@file(READ "/etc/os-release" OS_RELEASE)@#file(READ "/etc/os-release" OS_RELEASE)@' CMakeLists.txt
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 23:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 23:02 [rpms/rocdecode] rawhide: Update preview to 10.1 Tom Rix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox