aboutsummaryrefslogtreecommitdiffstats
path: root/ext/-test-
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2020-01-31 02:46:05 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-01-31 03:05:51 +0900
commit53adb53c9aea5da98ed3e470983b2cbfe367cb7d (patch)
treebd205640020974ed64d835a21e6c00ad869cc35e /ext/-test-
parent8e769a5b40200d5b66975e68016d09b47424c10a (diff)
downloadruby-53adb53c9aea5da98ed3e470983b2cbfe367cb7d.tar.gz
Ignore expected errors on compiling C++ source [Bug #16331]
BSD make can run parallel more aggressively than GNU make. It communicate with other make process through -J option in MAKEFLAGS environment variable to notify a build failure happend in an other pararell make process. https://www.freebsd.org/cgi/man.cgi?make It usually works well but ext/-test-/cxxanyargs/Makefile has two targets which are expected to fail (failure.o and failurem1.o). Additional note: To test and debug this issue, following command will speed up it. `make -f exts.mk -j8 clean all`
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/cxxanyargs/depend1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/-test-/cxxanyargs/depend b/ext/-test-/cxxanyargs/depend
index 02113b6c26..f7826b29c9 100644
--- a/ext/-test-/cxxanyargs/depend
+++ b/ext/-test-/cxxanyargs/depend
@@ -1,6 +1,7 @@
$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
.SUFFIXES: .failed
+.IGNORE: failure.o failurem1.o
.cpp.failed:
$(Q)$(RUBY) -rfileutils \