[clang] Fix amdgpu-arch for dll name on Windows (PR #101350)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 7 12:52:31 PST 2025


yxsamliu wrote:

[AMD Official Use Only - AMD Internal Distribution Only]

I will revert it.

Sam

From: Vladimir Vereschaka ***@***.***>
Sent: Friday, March 7, 2025 3:34 PM
To: llvm/llvm-project ***@***.***>
Cc: Liu, Yaxun (Sam) ***@***.***>; Mention ***@***.***>
Subject: Re: [llvm/llvm-project] Fix amdgpu-arch for dll name on Windows (PR #101350)

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.


@yxsamliu<https://github.com/yxsamliu> also the build failures on https://lab.llvm.org/buildbot/#/builders/193/builds/6129

FAILED: tools/clang/tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.obj

ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo /TP -DCLANG_BUILD_STATIC -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-2\x-aarch64\build\tools\clang\tools\amdgpu-arch -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\include -IC:\buildbot\as-builder-2\x-aarch64\build\tools\clang\include -IC:\buildbot\as-builder-2\x-aarch64\build\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include -external:IC:\buildbot\fs\zlib-win32\include -external:W0 -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\clang\tools\amdgpu-arch\CMakeFiles\amdgpu-arch.dir\AMDGPUArchByHIP.cpp.obj /Fdtools\clang\tools\amdgpu-arch\CMakeFiles\amdgpu-arch.dir\ /FS -c C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp

C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(104): error C2039: 'parse': is not a member of 'llvm::VersionTuple'

C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/Support/VersionTuple.h(29): note: see declaration of 'llvm::VersionTuple'

C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(104): error C3861: 'parse': identifier not found



—
Reply to this email directly, view it on GitHub<https://github.com/llvm/llvm-project/pull/101350#issuecomment-2707391884>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABO4LZYO2V7EVGP4YZIODIL2TH7ELAVCNFSM6AAAAABLYWTGW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGM4TCOBYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
[vvereschaka]vvereschaka left a comment (llvm/llvm-project#101350)<https://github.com/llvm/llvm-project/pull/101350#issuecomment-2707391884>

@yxsamliu<https://github.com/yxsamliu> also the build failures on https://lab.llvm.org/buildbot/#/builders/193/builds/6129

FAILED: tools/clang/tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.obj

ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo /TP -DCLANG_BUILD_STATIC -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-2\x-aarch64\build\tools\clang\tools\amdgpu-arch -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\include -IC:\buildbot\as-builder-2\x-aarch64\build\tools\clang\include -IC:\buildbot\as-builder-2\x-aarch64\build\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include -external:IC:\buildbot\fs\zlib-win32\include -external:W0 -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\clang\tools\amdgpu-arch\CMakeFiles\amdgpu-arch.dir\AMDGPUArchByHIP.cpp.obj /Fdtools\clang\tools\amdgpu-arch\CMakeFiles\amdgpu-arch.dir\ /FS -c C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp

C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(104): error C2039: 'parse': is not a member of 'llvm::VersionTuple'

C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/Support/VersionTuple.h(29): note: see declaration of 'llvm::VersionTuple'

C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\tools\amdgpu-arch\AMDGPUArchByHIP.cpp(104): error C3861: 'parse': identifier not found



—
Reply to this email directly, view it on GitHub<https://github.com/llvm/llvm-project/pull/101350#issuecomment-2707391884>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABO4LZYO2V7EVGP4YZIODIL2TH7ELAVCNFSM6AAAAABLYWTGW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGM4TCOBYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>


https://github.com/llvm/llvm-project/pull/101350


More information about the cfe-commits mailing list