This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Removing DLL attributes from ExecutionEngine/SparseTensor/Enums.h
ClosedPublic

Authored by wrengr on Oct 7 2022, 5:00 PM.

Diff Detail

Event Timeline

wrengr created this revision.Oct 7 2022, 5:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 7 2022, 5:00 PM
wrengr requested review of this revision.Oct 7 2022, 5:00 PM

There's, unfortunately, no public facing mlir windows bot that builds debug. We have some internal testing which builds debug which is how we ran into this.

I believe this should fix the issue, but I'll run a local build to verify and let you know.

mlir/include/mlir/ExecutionEngine/SparseTensor/Enums.h
35

You can remove mlir_sparse_tensor_utils_EXPORTS from the corresponding cmake file as well.

wrengr updated this revision to Diff 466231.Oct 7 2022, 6:18 PM

Removing mlir_sparse_tensor_utils_EXPORTS from the cmake and bazel files

wrengr marked an inline comment as done.Oct 7 2022, 6:18 PM
stella.stamenova accepted this revision.Oct 8 2022, 12:43 PM

Both debug and release windows builds are green with this. Thanks!

This revision is now accepted and ready to land.Oct 8 2022, 12:43 PM
aganea accepted this revision.Oct 8 2022, 1:55 PM

Looks good on my end too.