[Issue]: Build - Warnings and errors
@essamROCm 已经在做这个了。
开始于 2026年9月23日。
评估
这个 Issue 还没有评估数据。
描述
Problem Description
Build should not require rocm supported devices
-- The CXX compiler identification is Clang 24.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rocm-nightly/lib/llvm/bin/amdclang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- HIP: Using hipcc from relative path: /opt/rocm-nightly/bin/hipcc
CMake Warning (dev) at /opt/rocm-nightly/lib/cmake/hip/hip-config-amd.cmake:82 (message):
GPU_TARGETS was not set, and system GPU detection was unsuccsessful.
The amdgpu-arch tool failed:
Error: 'Failed to get device count: no ROCm-capable device is detected (error code: 100)'
Output: ''
As a result, --offload-arch will not be set for subsequent
compilations, and the default architecture
(gfx906 for dynamic build / gfx942 for static build) will be used
for compiling device code in C++ language mode
Call Stack (most recent call first):
/opt/rocm-nightly/lib/cmake/hip/hip-config.cmake:164 (include)
videoDecode/CMakeLists.txt:57 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Success
-- Found rocdecode: /opt/rocm-nightly/include (found suitable version "1.10.0", minimum required is "1.0.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2")
-- Checking for module 'libavcodec'
-- Package 'libavcodec', required by 'virtual:world', not found
-- Checking for module 'libavformat'
-- Package 'libavformat', required by 'virtual:world', not found
-- Checking for module 'libavutil'
-- Package 'libavutil', required by 'virtual:world', not found
-- NOTE: FindFFmpeg failed to find -- FFMPEG
-- Found Python3: /opt/python-shared/cp312-cp312/bin/python3.12 (found suitable version "3.12.9", minimum required is "3.9") found components: Interpreter Development.Module
-- pybind11 v3.1.0
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- rocDecode SDK source warnings remain visible and non-fatal; SDK headers use SYSTEM includes. SDK warnings are not fixed.
-- rocPyVideoDecode target: rocpydecode_3_12
-- rocPyVideoDecode FFmpeg support: OFF
-- rocPyVideoDecode CPU backend support: OFF
-- HIP: Using hipcc from relative path: /opt/rocm-nightly/bin/hipcc
CMake Warning (dev) at /opt/rocm-nightly/lib/cmake/hip/hip-config-amd.cmake:82 (message):
GPU_TARGETS was not set, and system GPU detection was unsuccsessful.
The amdgpu-arch tool failed:
Error: 'Failed to get device count: no ROCm-capable device is detected (error code: 100)'
Output: ''
As a result, --offload-arch will not be set for subsequent
compilations, and the default architecture
(gfx906 for dynamic build / gfx942 for static build) will be used
for compiling device code in C++ language mode
Call Stack (most recent call first):
/opt/rocm-nightly/lib/cmake/hip/hip-config.cmake:164 (include)
jpegDecode/CMakeLists.txt:25 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found rocjpeg: /opt/rocm-nightly/include (found suitable version "1.10.0", minimum required is "1.0.0")
-- rocPyJpegDecode target: rocpyjpegdecode_3_12
-- Configuring done (1.4s)
-- Generating done (0.0s)
-- Build files have been written to: /__w/vision-pack/vision-pack/build/_subprojects/rocpydecode/build
Operating System
ALL
CPU
ALL
GPU
ALL
ROCm Version
ROCm 10.X
Installation Method
Python wheels
Installed ROCm Packages / Versions
Installed ROCm packages / versions
Paste output here
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of rocminfo --support
rocminfo --support output
Paste output here
Additional Information
No response
- 主要语言
- C++
- 星标
- 8
- 派生
- 13
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 7
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ROCm/rocPyDecode 的其他 Issue
-
bug enhancement
ROCm/rocPyDecode#285 · 2 条评论 · 已指派 1 人 ·
-
enhancement
ROCm/rocPyDecode#284 · 1 条评论 · 已指派 1 人 ·
-
enhancement
ROCm/rocPyDecode#282 · 1 条评论 · 已指派 2 人 ·
-
bug
ROCm/rocPyDecode#256 · 3 条评论 · 已指派 1 人 ·
-
bug help wanted
ROCm/rocPyDecode#224 · 4 条评论 · 已指派 3 人 ·
相似的 Issue
-
bug build
难度 1/5 1 小时以内 新手友好度 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW 未关闭fuzz
难度 2/5 1-3 小时 新手友好度 82/100
ClickHouse/ClickHouse#122114 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
module/agent platform/macos type/bug/regression
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement PyCDE
难度 2/5 1-3 小时 新手友好度 78/100