Skip to content

Conversation

@makslevental
Copy link
Contributor

I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking mlir_c_runner_utils.

I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking `mlir_c_runner_utils`.
@llvmbot
Copy link
Member

llvmbot commented Oct 21, 2025

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-sparse

Author: Maksim Levental (makslevental)

Changes

I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking mlir_c_runner_utils.


Full diff: https://github.com/llvm/llvm-project/pull/164498.diff

1 Files Affected:

  • (modified) mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt (+1-1)
diff --git a/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt b/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt index 6ef1529343453..c712c64b6de55 100644 --- a/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt +++ b/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt @@ -21,6 +21,6 @@ set_property(TARGET MLIRSparseTensorRuntime PROPERTY CXX_STANDARD 17) check_cxx_compiler_flag(-Wweak-vtables COMPILER_SUPPORTS_WARNING_WEAK_VTABLES) if(COMPILER_SUPPORTS_WARNING_WEAK_VTABLES) - target_compile_options(MLIRSparseTensorRuntime PUBLIC + target_compile_options(MLIRSparseTensorRuntime PRIVATE "-Wweak-vtables") endif() 
@llvmbot
Copy link
Member

llvmbot commented Oct 21, 2025

@llvm/pr-subscribers-mlir-execution-engine

Author: Maksim Levental (makslevental)

Changes

I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking mlir_c_runner_utils.


Full diff: https://github.com/llvm/llvm-project/pull/164498.diff

1 Files Affected:

  • (modified) mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt (+1-1)
diff --git a/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt b/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt index 6ef1529343453..c712c64b6de55 100644 --- a/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt +++ b/mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt @@ -21,6 +21,6 @@ set_property(TARGET MLIRSparseTensorRuntime PROPERTY CXX_STANDARD 17) check_cxx_compiler_flag(-Wweak-vtables COMPILER_SUPPORTS_WARNING_WEAK_VTABLES) if(COMPILER_SUPPORTS_WARNING_WEAK_VTABLES) - target_compile_options(MLIRSparseTensorRuntime PUBLIC + target_compile_options(MLIRSparseTensorRuntime PRIVATE "-Wweak-vtables") endif() 
@makslevental makslevental merged commit 90b51c3 into main Oct 23, 2025
14 checks passed
@makslevental makslevental deleted the users/makslevental/fix-sparse branch October 23, 2025 13:41
dvbuka pushed a commit to dvbuka/llvm-project that referenced this pull request Oct 27, 2025
I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking `mlir_c_runner_utils`.
Lukacma pushed a commit to Lukacma/llvm-project that referenced this pull request Oct 29, 2025
I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking `mlir_c_runner_utils`.
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
I'm not 100% what this is used for in this lib but the compile flag leaks out and prevents (in certain compile scenarios) linking `mlir_c_runner_utils`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants