[PATCH] D140247: Disable Univariate3D_Invert to workaround module build failure

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 14:07:46 PST 2022


steven_wu created this revision.
steven_wu added reviewers: sdesmalen, aprantl, arphaman, vsapsai.
Herald added a subscriber: ributzka.
Herald added a project: All.
steven_wu requested review of this revision.
Herald added a project: LLVM.

Disable test to workaround build failures when bootstrap with modules:
https://github.com/llvm/llvm-project/issues/59562


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140247

Files:
  llvm/unittests/Support/LinearPolyBaseTest.cpp


Index: llvm/unittests/Support/LinearPolyBaseTest.cpp
===================================================================
--- llvm/unittests/Support/LinearPolyBaseTest.cpp
+++ llvm/unittests/Support/LinearPolyBaseTest.cpp
@@ -168,9 +168,12 @@
   EXPECT_EQ(Univariate3D(4, 1) * -2, Univariate3D(-8, 1));
 }
 
+#if __DARWIN__
+// FIXME: workaround for module build failures:
+// https://github.com/llvm/llvm-project/issues/59562
 TEST(UnivariateLinearPolyBase, Univariate3D_Invert) {
   // Test operator-
   EXPECT_EQ(-Univariate3D(4, 0), Univariate3D(-4, 0));
   EXPECT_EQ(-Univariate3D(4, 1), Univariate3D(-4, 1));
 }
-
+#endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140247.483669.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221216/c972b8b5/attachment.bin>


More information about the llvm-commits mailing list