summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
AgeCommit message (Collapse)Author
2025-12-20[Bug #21792] Build rubyspec-capiext only when excuting `test-spec`Mike Dalessio
rubyspec-capiext is only needed for running specs, not for building or installing Ruby.
2025-12-02Win32: Clean empty directoriesNobuyoshi Nakada
2025-12-02Win32: Remove bundled gems directoriesNobuyoshi Nakada
2025-12-02Win32: Clean minipreludeNobuyoshi Nakada
2025-12-02Win32: Remove DLL files linked by `prepare-vcpkg`Nobuyoshi Nakada
2025-12-02Win32: Clean generated sourcesNobuyoshi Nakada
2025-12-02Win32: Refine outputsNobuyoshi Nakada
- Suppress logos from sub makes. - Set the prompt for `for` command when `echo` is on.
2025-12-02Win32: Append `-p` option to `RMDIRS`Nobuyoshi Nakada
`rmdirs.bat` may require this option explicitly to remove parent directories, in the future.
2025-12-02Win32: Clean prismNobuyoshi Nakada
- intermediate source files - timestamp files - build directories
2025-12-02Win32: Remove extra suffix for sub-makeNobuyoshi Nakada
2025-12-02Win32: Add `DLEXT` for clean-specNobuyoshi Nakada
2025-12-02Win32: Fix @ in middle of commandsNobuyoshi Nakada
`@` is not a command, and cannot be placed after `||`.
2025-11-27Remove an excess colon [ci skip]Nobuyoshi Nakada
2025-11-21Fix timezone of `yesterday`Nobuyoshi Nakada
Set the `TZ environment variable. `git log` does not recognize UTC offset in `--before` option, unless full datetime is given.
2025-11-19Win32: Drop support for older than MSVC 14.0/_MSC_VER 1900Nobuyoshi Nakada
Visual C++ 2015 (14.0): - _MSC_VER: 1900 - MSVCRT_VERSION: 140
2025-11-19Win32: Drop support for older than MSVC 12.0/_MSC_VER 1800Nobuyoshi Nakada
Visual C++ 2013 (12.0): - _MSC_VER: 1800 - MSVCRT_VERSION: 120
2025-11-19Win32: Drop support for older than MSVC 10.0/_MSC_VER 1600Nobuyoshi Nakada
Visual C++ 2010 (10.0): - _MSC_VER: 1600 - MSVCRT_VERSION: 100
2025-11-19Win32: Drop support for older than MSVC 9.0/_MSC_VER 1500Nobuyoshi Nakada
Visual C++ 2008 (9.0): - _MSC_VER: 1500 - MSVCRT_VERSION: 90
2025-11-19Win32: Drop support for older than MSVC 8.0/_MSC_VER 1400Nobuyoshi Nakada
Visual C++ 2005 (8.0): - _MSC_VER: 1400 - MSVCRT_VERSION: 80
2025-09-17Revert "Already git 2.32 is expected in doc/contributing/building_ruby.md"Nobuyoshi Nakada
This reverts commit fbc7e935761d892ba6c031256ccbb914963e4ce1. Failures with "GCC 8" and "clang 12". ``` /github/workspace/src/tool/lib/vcs.rb:57:in `system': Command failed with status (pid 7385 exit 128): ["git", "config", "--global", "--add", "safe.directory", "/github/workspace/src"] (RuntimeError) ```
2025-09-17Already git 2.32 is expected in doc/contributing/building_ruby.mdNobuyoshi Nakada
2025-09-17Fix git version comparisonNobuyoshi Nakada
2025-09-16Check git version on mswinNobuyoshi Nakada
2025-09-16Reject git command that does not accept `-C` optionNobuyoshi Nakada
2025-09-16Expect `git -C <path>` to workNobuyoshi Nakada
This option is available since git 1.8.5 that was released in 2013.
2025-09-14win32: Also ruby/confg.h depends on the ABI version headerNobuyoshi Nakada
2025-08-28Abandon `ruby` target on the others than GNU makeNobuyoshi Nakada
The default non-transformed name, `ruby` target was added for the case of `--program-transform-name` and similars, but it was occasionally added even when no such option is used.
2025-08-25Win: Fix `--without-baseruby` optionNobuyoshi Nakada
This option in `win32/configure.bat` was completely broken. Also honor `HAVE_BASERUBY` than `BASERUBY` value, and use `missing-baseruby.bat` to check the version.
2025-08-19Gererate prism source files dependencies from template.rbNobuyoshi Nakada
Update included file list automatically.
2025-08-12NMake needs caret to escape a hash signNobuyoshi Nakada
2025-07-25Split autogenerated dependency to depend file from common.mkHiroshi SHIBATA
2025-07-24Win32: Suppress an error message when baseruby is not foundNobuyoshi Nakada
2025-05-27Win: Suppress false warnings from Visual C 17.14.1Nobuyoshi Nakada
https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942? It is not able to silence "operands are different enum types" warnings, even using an explicit cast, as the message says.
2025-05-12digest.so needs ruby/digest.h which is installed by build-extNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13302
2025-05-12Revert "Try removing building C API specs in CRuby makefiles entirely"Nobuyoshi Nakada
This reverts commit 2a9236366d6016738a756caecab03263565a20c7. spec/ruby/optional/capi/spec_helper.rb doesn't work well for mingw. Notes: Merged: https://github.com/ruby/ruby/pull/13302
2025-05-09Try removing building C API specs in CRuby makefiles entirelyBenoit Daloze
* Since it does not work when using some configure options such as: .../configure --with-ext=-test-/cxxanyargs,+ --enable-shared as the CI does. * It also duplicates the logic of spec/ruby/optional/capi/spec_helper.rb incorrectly. ruby/spec maintainers have no experience and no interest in dealing with these complicated CRuby build system issues. We asked help on the CRuby Slack and nobody helped so far. Notes: Merged: https://github.com/ruby/ruby/pull/13265
2025-03-12Win32: Remove intermediate files for rubyspec-capiextNobuyoshi Nakada
2025-03-12Win32: Make object files in the same place as the DLLsNobuyoshi Nakada
2025-02-17Pass XINCFLAGS for gmp build with Windows platformHiroshi SHIBATA
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/12763
2025-02-13[Feature #21116] Extract RJIT as a third-party gemNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12740
2025-01-14Use LRAMA instead of YACCydah
Notes: Merged: https://github.com/ruby/ruby/pull/12556
2024-12-27Win32: Update clean commands for bundled gemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12481
2024-12-27Win32: Remove win32 directory if emptyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12481
2024-12-24Win32: Defer change of timezone name encoding after 3.4Nobuyoshi Nakada
This change will be merged into 3.5 along with other encoding, command line, environment variables, etc. Revert following commits: - bd831bcca534955533d9135d8c2f22d7ae5b9aa8 [Bug #20929] Win32: Use `wcsftime` - 1c15f641cc2bb88fa88123a11036ed58fbf9aa6d [Bug #20929] Win32: Encode timezone name in UTF-8 - 78762b52185aa80ee55c0d49b495aceed863dce2 [Bug #20929] Fix `assert_zone_encoding` Notes: Merged: https://github.com/ruby/ruby/pull/12448
2024-12-23Implements [Feature #3456]: Support pkgconf on windowsJulien Marrec
1. Store the `PKG_CONFIG` variable in Makefile.sub (or try to get it from the ENV var PKG_CONFIG in mkmf.rb) 2. Try to use --msvc-syntax, with a fallback to replacing -Lxxx with -libpath:xxx. --msvc-syntax has been in pkgconf since 1.4.0 (released 7 years ago). pkg-config (freedesktop), does not support it, hence the fallback. 3. The `try_ldflags` passes these `ldflags` as the `opt` parameter to the `link_command`, not as `ldflags`. Unix systems are forgiving in that regard, MSVC is not: as a result as passing them as `opt`, they (specifically the `/libpath:xxx` ones) end up passed before the `-link` command to `cl.exe` and it throws because it ignores it and therefore can't find the lib. ``` cl : Command line warning D9002 : ignoring unknown option '-libpath:C:/Users/julien/.conan2/p/libff3726d89a6255c/p/lib' ``` Notes: Merged: https://github.com/ruby/ruby/pull/9815
2024-12-22modular-gc-precheck for mswinNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12428
2024-12-22Allow variables in modular_gc_dirNobuyoshi Nakada
Such as `$(ruby_version)`, `$(arch)` and so on. Notes: Merged: https://github.com/ruby/ruby/pull/12428
2024-12-17Win32: Add coroutine for mswin on arm64Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-17Win32: Allow arm64 platformNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-10Split system dependent commands to clean modular-gcNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12300