summaryrefslogtreecommitdiff
path: root/template/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
...
* Rust YJITAlan Wu2022-04-271-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In December 2021, we opened an [issue] to solicit feedback regarding the porting of the YJIT codebase from C99 to Rust. There were some reservations, but this project was given the go ahead by Ruby core developers and Matz. Since then, we have successfully completed the port of YJIT to Rust. The new Rust version of YJIT has reached parity with the C version, in that it passes all the CRuby tests, is able to run all of the YJIT benchmarks, and performs similarly to the C version (because it works the same way and largely generates the same machine code). We've even incorporated some design improvements, such as a more fine-grained constant invalidation mechanism which we expect will make a big difference in Ruby on Rails applications. Because we want to be careful, YJIT is guarded behind a configure option: ```shell ./configure --enable-yjit # Build YJIT in release mode ./configure --enable-yjit=dev # Build YJIT in dev/debug mode ``` By default, YJIT does not get compiled and cargo/rustc is not required. If YJIT is built in dev mode, then `cargo` is used to fetch development dependencies, but when building in release, `cargo` is not required, only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer. The YJIT command-line options remain mostly unchanged, and more details about the build process are documented in `doc/yjit/yjit.md`. The CI tests have been updated and do not take any more resources than before. The development history of the Rust port is available at the following commit for interested parties: https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be Our hope is that Rust YJIT will be compiled and included as a part of system packages and compiled binaries of the Ruby 3.2 release. We do not anticipate any major problems as Rust is well supported on every platform which YJIT supports, but to make sure that this process works smoothly, we would like to reach out to those who take care of building systems packages before the 3.2 release is shipped and resolve any issues that may come up. [issue]: https://bugs.ruby-lang.org/issues/18481 Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com> Co-authored-by: Kevin Newton <kddnewton@gmail.com>
* Load fake.rb at `BTESTRUBY`Nobuyoshi Nakada2022-04-051-2/+1
| | | | | So that `mkmf` checks work from `make run`, and also remove duplicate `$(MINIRUBYOPT)` which is used in `$(MINIRUBY)`.
* Need to reconfigure and rebuild everything when abi.h changedNobuyoshi Nakada2022-03-231-2/+4
|
* [Feature #18491] Drop support for HP-UXPeter Zhu2022-01-181-1/+0
| | | | | IA64 support was dropped in ticket #15894, so we can drop support for HP-UX.
* Remove unversioned phony target for pkgconfig file [Bug #18374]Nobuyoshi Nakada2021-12-041-1/+0
| | | | | It results in a circular dependency when `--with-ruby-pc=ruby.pc` is given. [ci skip]
* Update URL about DTrace static library glommed obj [ci skip]Naohisa Goto2021-11-171-1/+1
| | | | | | | | The old URL http://mail.opensolaris.org/pipermail/dtrace-discuss/2005-August/000207.html pointed to the official archive of dtrace-discuss mailing list in opensolaris.org, disappeared in 2013. The new URL points to the MARC Mailing list ARChives.
* Remove the scraperAaron Patterson2021-10-201-3/+1
| | | | | Now that we're using the jit function entry point, we don't need the scraper. Thank you for your service, scraper. ❤️
* Remove some MicroJIT vestigesAaron Patterson2021-10-201-2/+2
| | | | Just happened to run across this, so lets fix them
* Yet Another Ruby JIT!Jose Narvaez2021-10-201-1/+1
| | | | Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
* Refactor uJIT code into more files for readabilityMaxime Chevalier-Boisvert2021-10-201-1/+1
|
* Refactor ujit_examples.h generator. Remove dwarfdump dependencyAlan Wu2021-10-201-1/+3
|
* Ripper source on mswinNobuyoshi Nakada2021-09-211-0/+1
| | | | | * Get rid of command substitution for cmd.exe. * Separate RM1 command to remove single file sans directory.
* Make ruby.pc from makeNobuyoshi Nakada2021-08-291-3/+11
| | | | | Expand variables undefined in configure.ac, RUBY_RELEASE_DATE and so on.
* Disable debug flag for executable files when LTO [ci skip]Nobuyoshi Nakada2021-08-141-3/+4
| | | | | Get rid of tons of linker warnings that it could not find object file symbol for every symbols, when targeting darwin.
* Group commands on GitHub ActionsNobuyoshi Nakada2021-08-071-0/+3
|
* Revert "Removed extinit.o from main programs"Yusuke Endoh2021-08-051-1/+1
| | | | | | This reverts commit ac86fcbfd0bab8667d277aa575bc5b81e5135d3c. This change broke "--disable-shared --with-static-linked-ext".
* Removed extinit.o from main programsNobuyoshi Nakada2021-07-031-1/+1
| | | | It is included in libruby, which is linked into the main programs.
* Run ifchange with shell explicitly, workaround of noexec mountNobuyoshi Nakada2021-06-221-1/+1
|
* just redirect preprocessed vm.c to mjit header [Bug #17787]Nobuyoshi Nakada2021-04-101-1/+1
| | | | Not all preprocessors work with output option.
* No longer aclocal is used [ci skip]Nobuyoshi Nakada2021-03-201-7/+1
|
* Support coroutine on universal binaryNobuyoshi Nakada2021-01-221-1/+1
|
* Revert "Autoconf 2.70 no longer has -o option"Nobuyoshi Nakada2021-01-181-1/+1
| | | | | This reverts commit 331f0bc1cb7965bec9aed5d7278360c2e9fc8946. It seems a mistake.
* Autoconf 2.70 no longer has -o optionNobuyoshi Nakada2021-01-181-1/+1
|
* Fixed wrong configure optionNobuyoshi Nakada2020-12-291-2/+2
|
* Make more silent when -s on GNU makeNobuyoshi Nakada2020-12-291-2/+5
|
* Ignore symbols declared in the platform headerNobuyoshi Nakada2020-12-271-1/+1
|
* rubyspec-capiext: Use plain DLDFLAGS without flags for librubyNobuyoshi Nakada2020-11-221-1/+2
|
* Removed canonicalization for mathnNobuyoshi Nakada2020-11-101-2/+1
|
* Build auxiliary program files earlyNobuyoshi Nakada2020-05-121-1/+1
|
* Revert "Moved aclocal.m4 to macro directory"Nobuyoshi Nakada2020-04-051-4/+4
| | | | | This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e, because chkbuild does not follow.
* Moved aclocal.m4 to macro directoryNobuyoshi Nakada2020-04-051-4/+4
|
* Added tooldir variableNobuyoshi Nakada2020-04-051-59/+61
|
* Share download cache with bundlerNobuyoshi Nakada2020-03-311-0/+1
|
* Make file names and variable names consistentTakashi Kokubun2020-03-231-1/+1
|
* Moved MJIT_WITHOUT_TABS default to configure.acNobuyoshi Nakada2020-03-241-0/+1
| | | | And then the environment variable.
* Update clean-local [ci skip]Nobuyoshi Nakada2020-01-181-2/+2
| | | | | | | * Remove builtin_binary.inc which is generated for each time miniruby is built. * dSYM is a directory, not a file.
* remove prelude.cKoichi Sasada2019-12-111-1/+0
| | | | | | | | | prelude.c is an automatically generated file by template/prelude.c.tmpl. However it does not contain any required functions. So remove it from dependency. Also miniprelude.c is included by mini_builtin.c and does not need to make miniprelude.o.
* Add missing Makefile dependencies for the tool/insns2vm.rb scriptDylan Thacker-Smith2019-11-131-1/+46
|
* Get rid of FreeBSD make incompatibility [Bug #16331]Nobuyoshi Nakada2019-11-101-13/+18
| | | | | | | | | | | | | | | | | | FreeBSD make works differently with `-j` option. > -j max_jobs > Specify the maximum number of jobs that `make` may have running > at any one time. The value is saved in `.MAKE.JOBS.` Turns > compatibility mode off, unless the `B` flag is also specified. > When compatibility mode is off, all commands associated with a > target are executed in a single shell invocation as opposed to > the traditional one shell invocation per line. This can break > traditional scripts which change directories on each command > invocation and then expect to start with a fresh environment on > the next line. It is more efficient to correct the scripts > rather than turn backwards compatibility on. Stop using exit, cd, exec in middle of commands.
* Share test-bundled-gems-run in common.mkNobuyoshi Nakada2019-11-051-6/+0
|
* Clean mjit and timestamp directoriesNobuyoshi Nakada2019-10-281-1/+1
|
* Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze2019-09-291-1/+1
| | | | miniruby
* Move the logic to test bundled gems to Ruby codeBenoit Daloze2019-09-291-9/+1
| | | | | * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
* Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada2019-08-261-3/+3
| | | | Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
* test-bundled-gems-run: Respect -k optionNobuyoshi Nakada2019-07-241-3/+6
|
* Reduced duplicate commands in test-bundled-gems-runNobuyoshi Nakada2019-07-241-6/+4
|
* Improve build process and coroutine implementation selection.Samuel Williams2019-07-181-1/+2
|
* Substitue suffixes with dotNobuyoshi Nakada2019-07-011-1/+1
|
* Use configured ASMEXTNobuyoshi Nakada2019-07-011-1/+1
|
* Moved Makefile.in under templateNobuyoshi Nakada2019-06-071-0/+646
|