зеркало из https://github.com/github/ruby.git
0f9e50b8c5
Since #10209 we've been noticing that on macos after running `make clean` the `coroutine/arm64/Context.S` file is missing, causing subsequent make calls to fail because `Context.S` is needed to build `Context.o`. The reason this is happening is because macos is case-insensitive so the `.s` looks for `coroutine/arm64/Context.s` and finds `coroutine/arm64/Context.s`. This does not happen on linux because the filesystem is case sensitive. I attempted to use `find` because it is case sensitive regardless of filesystem, but it was a lot slower than `rm` since we can't pass multiple file names the same way to `find`. Reverting this small part of #10209 fixes the issue for macos and it wasn't clear that those changes were strictly necessary for the rest of the PR. We changed the original code to use `rm` instead of `delete` because it is not standarized on POSIX. |
||
---|---|---|
.. | ||
Doxyfile.tmpl | ||
GNUmakefile.in | ||
Makefile.in | ||
builtin_binary.inc.tmpl | ||
call_iseq_optimized.inc.tmpl | ||
configure-ext.mk.tmpl | ||
depend.tmpl | ||
encdb.h.tmpl | ||
extinit.c.tmpl | ||
exts.mk.tmpl | ||
fake.rb.in | ||
id.c.tmpl | ||
id.h.tmpl | ||
known_errors.inc.tmpl | ||
limits.c.tmpl | ||
prelude.c.tmpl | ||
ruby-gdb.in | ||
ruby-lldb.in | ||
ruby-runner.h.in | ||
ruby.pc.in | ||
sizes.c.tmpl | ||
transdb.h.tmpl | ||
unicode_norm_gen.tmpl | ||
unicode_properties.rdoc.tmpl | ||
verconf.h.tmpl |