Skip to content

Conversation

@ZarkoT
Copy link
Contributor

@ZarkoT ZarkoT commented Mar 20, 2025

Fixes the ppc64le shared libs build: https://lab.llvm.org/buildbot/#/builders/145/builds/5759/steps/5/logs/stdio

This may be overkill and I'm open to suggestions on making this more specific.

@ZarkoT ZarkoT self-assigned this Mar 20, 2025
@llvmbot llvmbot added the cmake Build system in general and CMake in particular label Mar 20, 2025
ZarkoT referenced this pull request Mar 20, 2025
This patch fixes:

  clang/lib/Tooling/DependencyScanning/InProcessModuleCache.cpp:38:5:
  error: 'shared_lock' may not intend to support class template
  argument deduction [-Werror,-Wctad-maybe-unsupported]

  clang/lib/Tooling/DependencyScanning/InProcessModuleCache.cpp:68:7:
  error: 'lock_guard' may not intend to support class template
  argument deduction [-Werror,-Wctad-maybe-unsupported]
@chandlerc chandlerc removed their request for review March 20, 2025 20:41

#The shared libs build for Linux on PowerPC requires -lpthread
if(BUILD_SHARED_LIBS AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND LLVM_HOST_TRIPLE MATCHES "powerpc*")
append("-lpthread"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want to add a dependency on Threads::Threads instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Though looks like the build is fixed by some other changes already: https://lab.llvm.org/buildbot/#/builders/145/builds/5917.

I'll close this PR in this case.

@ZarkoT ZarkoT closed this Mar 20, 2025
@ZarkoT
Copy link
Contributor Author

ZarkoT commented Mar 20, 2025

Build fixed by: 15ad84f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake Build system in general and CMake in particular

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants