mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
add disabling MJIT features option.
* configure.ac: introduce new configure option `--enable-mjit` and `--disable-mjit`. Default is "enable". `--disable-mjit` disables all of MJIT features so that `ruby --jit` can't enable MJIT. This option affect a macro `USE_MJIT`. This change remove `--enable/disable-install-mjit-header` option. * Makefile.in: introduce the `ENABLE_MJIT` variable. * common.mk: use `ENABLE_MJIT` option. * internal.h: respect `USE_MJIT`. Same as other *.c, *.h. * test/ruby/test_jit.rb: check `ENABLE_MJIT` key of rbconfg.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d79f72521e
commit
b710785f1a
16 changed files with 86 additions and 11 deletions
2
thread.c
2
thread.c
|
@ -74,6 +74,7 @@
|
|||
#include "internal.h"
|
||||
#include "iseq.h"
|
||||
#include "vm_core.h"
|
||||
#include "mjit.h"
|
||||
#include "hrtime.h"
|
||||
|
||||
#ifndef USE_NATIVE_THREAD_PRIORITY
|
||||
|
@ -4392,7 +4393,6 @@ terminate_atfork_i(rb_thread_t *th, const rb_thread_t *current_th)
|
|||
}
|
||||
|
||||
/* mjit.c */
|
||||
void mjit_child_after_fork(void);
|
||||
void rb_fiber_atfork(rb_thread_t *);
|
||||
void
|
||||
rb_thread_atfork(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue