summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2023-09-13Enable `.NOTPARALLEL` on `ripper_srcs`Nobuyoshi Nakada
And add special treats only for old GNU make.
2023-09-11Use the keyword for output and omit default arguments [ci skip]Nobuyoshi Nakada
2023-08-28Add yarp/yarp_compiler.c (#8042)Jemma Issroff
* Add yarp/yarp_compiler.c as stencil for compiling YARP This commit adds yarp/yarp_compiler.c, and changes the sync script to ensure that yarp/yarp_compiler.c will not get overwritten * [Misc #119772] Create and expose RubyVM::InstructionSequence.compile_yarp This commit creates the stencil for a compile_yarp function, which we will continue to fill out. It allows us to check the output of compiled YARP code against compiled code without using YARP. Notes: Merged-By: jemmaissroff
2023-08-28YARP: generated files using from templates depend on config.ymlNobuyoshi Nakada
2023-08-25Update depsKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8298
2023-08-25Remove config.h from targets necessary for YARPKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8298
2023-08-25Fix VPATH for yarp/version.hKevin Newton
2023-08-25Update sync script to handle yarp/version.hKevin Newton
2023-08-25Fix mutation visitor build for YARP templatingKevin Newton
2023-08-25Implement weak references in the GCPeter Zhu
[Feature #19783] This commit adds support for weak references in the GC through the function `rb_gc_mark_weak`. Unlike strong references, weak references does not mark the object, but rather lets the GC know that an object refers to another one. If the child object is freed, the pointer from the parent object is overwritten with `Qundef`. Co-Authored-By: Jean Boussier <byroot@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/8113
2023-08-24Resurrect srcs dependency for YARP templates (#8285)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-22Render YARP templates into the build directory (#8266)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-18Revert "Fix tool/update-deps for YARP files"Takashi Kokubun
This reverts commit 6fff5c5ba23a2790c9d189de82e157c9fa986f96. Revert "Use $(top_srcdir) entries for mswin (#8244)" This reverts commit e327bf32bdfa610a0f1834048bb1422de992c073. Revert "Update dependencies" This reverts commit aba26a88040c322a188292447fd18a2b9c76c713. Revert "Use {$(VPATH)} for OpenBSD" This reverts commit 2046e054bc811fd6a8e30c926aa6c9c4a5884262. --- None of those revisions actually worked for both mswin and OpenBSD at the same time. I need more time to build something that works for both.
2023-08-18Fix tool/update-deps for YARP filesTakashi Kokubun
2023-08-18Update dependenciesTakashi Kokubun
2023-08-18Use {$(VPATH)} for OpenBSDTakashi Kokubun
Scratch build on OpenBSD has been failing since 67b5f63e97. `make; make` works though. (`make` alone doesn't work) I have no idea what I'm doing, but I do know that this patch fixes scratch build on an OpenBSD machine. My best guess is that BSD make isn't capable of distinguishing foo.c vs ./foo.c in dependencies, and {$(VPATH)} becomes empty when it needs to be.
2023-08-17Include YARP templated files in snapshotsTakashi Kokubun
Those files should be part of CRuby distributions.
2023-08-17Move the dependency of node.rb and serialize.rbTakashi Kokubun
to `main`. This is what lib/ruby_vm/rjit/instruction.rb currently does. Letting .time depend on those files was just a workaround.
2023-08-17Render YARP templates in the build process (#8228)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-16Update dependenciesTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/8226
2023-08-14Fix test and precheck order for old GNU MakeNobuyoshi Nakada
2023-08-13Prefix `excludes` with a dot to prevent chkbuild from firing wronglyNobuyoshi Nakada
Chkbuild runs for each directories just under `test` directory when `test-all` failed. `test/excludes` itself should not be a target. Notes: Merged: https://github.com/ruby/ruby/pull/8214
2023-08-11Group test-syntax-suggest and leaked-globals [ci skip]Nobuyoshi Nakada
2023-08-11Fix test-bundler dependenciesNobuyoshi Nakada
2023-08-11Fix order of test-syntax-suggest-prepare for old GNU MakeNobuyoshi Nakada
2023-08-10Remove duplicate prerequisite [ci skip]Nobuyoshi Nakada
2023-08-10Explicitly require rspec/expectations tentativelyNobuyoshi Nakada
Maybe only with load-relative, recent changes to bunder/setup.rb seem affecting weirdly. It fails to load rspec/expectations.rb inside rspec-core.
2023-08-10Make PREPARE_SYNTAX_SUGGEST include TEST_RUNNABLE prefixNobuyoshi Nakada
So that `make PREPARE_SYNTAX_SUGGEST= test-syntax-suggest` works. Notes: Merged: https://github.com/ruby/ruby/pull/8199
2023-07-27Clean up OPT_STACK_CACHING (#8132)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-07-19[ruby/yarp] Resync YARP (#8098)Jemma Issroff
Notes: Merged-By: jemmaissroff
2023-07-17Implement Process.warmupJean Boussier
[Feature #18885] For now, the optimizations performed are: - Run a major GC - Compact the heap - Promote all surviving objects to oldgen Other optimizations may follow. Notes: Merged: https://github.com/ruby/ruby/pull/7662
2023-07-15Use functions defined by parser_st.c to reduce dependency on st.cyui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8057
2023-07-13[Feature #19730] Remove transient heapPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/7942
2023-07-10Serially update only the ripper source, even with old GNU makeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8049
2023-07-06Ensure the name given to Module#set_temporary_name is not a valid constant pathBenoit Daloze
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/8035
2023-07-05Fixed build scripts for YARPJemma Issroff
Notes: Merged: https://github.com/ruby/ruby/pull/8007
2023-07-02[DOC] Stop downloading Unicode data only for unicode_properties.rdocNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8011
2023-07-01[Bug #19728] Auto-generate unicode property docsJanosch Müller
https://bugs.ruby-lang.org/issues/19728 Notes: Merged: https://github.com/ruby/ruby/pull/7944 Merged-By: nobu <nobu@ruby-lang.org>
2023-06-29Fix broken wiki links (#8002)Jemma Issroff
Since [Misc #19679] migrated the wiki, these links should be updated to their new locations. Notes: Merged-By: jemmaissroff
2023-06-29Ripper sources are generated at onceNobuyoshi Nakada
2023-06-29More dependencies for ripperNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7999
2023-06-24De-duplicate parse_st.c code from st.cNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7956
2023-06-21[Feature #19741] Add yarp to buildsJemma Issroff
Add yarp to common.mk and windows builds to enable us to run yarp correctly with CI. Notes: Merged: https://github.com/ruby/ruby/pull/7964
2023-06-14Removed rake-compiler dependency for test-bundled-gemsHiroshi SHIBATA
It's needless with racc-1.7.1 Notes: Merged: https://github.com/ruby/ruby/pull/7943
2023-06-13rexml is also bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7937
2023-06-13Don't install bundled gems for test-bundled-gems and test-syntax-suggestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7937
2023-06-12[Feature #19719] Universal Parseryui-knk
Introduce Universal Parser mode for the parser. This commit includes these changes: * Introduce `UNIVERSAL_PARSER` macro. All of CRuby related functions are passed via `struct rb_parser_config_struct` when this macro is enabled. * Add CI task with 'cppflags=-DUNIVERSAL_PARSER' for ubuntu. Notes: Merged: https://github.com/ruby/ruby/pull/7927
2023-06-12Run test-unit test without rake task to avoid yard dependencyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7928
2023-06-12pry is not needed for test-bundled-gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7928
2023-06-08Added racc dependencyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7877