summaryrefslogtreecommitdiff
path: root/ext/psych/extconf.rb
Commit message (Collapse)AuthorAgeFilesLines
* configure of libyaml couldn't detect "arm64-apple-darwin22" for build host.Hiroshi SHIBATA2023-01-171-1/+1
| | | | | | | | checking whether make sets $(MAKE)... (cached) yes checking build system type... arm-apple-darwin21.6.0 checking host system type... Invalid configuration `arm64-apple-darwin21': machine `arm64-apple' not recognized configure: error: /bin/sh /Users/hsbt/Downloads/yaml-0.2.5/config/config.sub arm64-apple-darwin21 failed *** extconf.rb failed ***
* Fix missing `abort` callNobuyoshi Nakada2022-10-121-1/+1
| | | Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
* Abandon when libyaml is not foundNobuyoshi Nakada2022-10-121-8/+5
|
* Removed the related condition of --enable-bundled-libyamlHiroshi SHIBATA2022-10-071-6/+1
|
* --enable-bundled-libyaml config has been removedHiroshi SHIBATA2022-10-071-1/+1
|
* Removed the related files for downloading with extlibsHiroshi SHIBATA2022-10-051-17/+0
|
* Fix libyaml download failure rescue under minirubyAlan Wu2022-06-141-7/+9
| | | | | | | | | | | | | | | | | | | | I tried to build Ruby on a system without libyaml today and realized that my attempt from <https://github.com/ruby/psych/pull/557> doesn't fix the error in <https://github.com/ruby/psych/issues/552>. I still got the same `LoadError` from `digest` which stopped the build. Since `LoadError` is not a `StandardError`, a plain `rescue` doesn't catch it. Catch `LoadError` explicitly instead and reduce the scope of the `begin` block. I tested this change in a Ruby build on macOS without libyaml installed and confirmed that `make` continues with a warning instead of aborting: *** Following extensions are not compiled: psych: Could not be configured. It will not be installed. ... This should address <https://bugs.ruby-lang.org/issues/18790>.
* Improve libyaml source downloading error messagesAlan Wu2022-04-041-4/+10
| | | | | | | | | | People trying to build CRuby by following the instructions in its [README] have been running into [errors] due to missing `libyaml` on their system. Let's try to present a better error message when it happens. [README]: https://github.com/ruby/ruby/tree/fb5aa31e2d20ea8e1425432672f4de4c8ca2c26b#how-to-compile-and-install [errors]: https://github.com/ruby/psych/issues/552
* Propagate `CC` to libyamlNobuyoshi Nakada2022-04-011-0/+1
| | | | | | It is needed for cross-compiling to set properly. Just `--target`/`--host`/`--build` seems insufficient on some platforms.
* Output libyaml configure logNobuyoshi Nakada2022-04-011-7/+10
|
* Make a static library from PIC object filesNobuyoshi Nakada2022-03-311-2/+7
| | | | | On some platforms, PIC and non-PIC code are incompatible and the latter cannot be used for shared objects.
* Remove `unknown` vendor for cross-compiling tool prefixNobuyoshi Nakada2022-03-311-1/+1
|
* Propagate the host configuration to libyamlNobuyoshi Nakada2022-03-301-0/+1
|
* Try bundled libyaml source if pre-installed is unavailableNobuyoshi Nakada2022-03-291-6/+10
|
* Ignore warnings from yaml-0.2.5Nobuyoshi Nakada2022-03-281-0/+1
| | | | These already have been reported to the upstream repeatedly.
* Download libyaml sourceNobuyoshi Nakada2022-03-271-0/+8
|
* Configure libyaml from the original sourceNobuyoshi Nakada2022-03-271-30/+34
|
* Added condition for macOS homebrewHiroshi SHIBATA2022-03-261-1/+1
| | | | Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
* ext/psych/extconf.rb: braced VPATH is for nmake onlyNobuyoshi Nakada2020-06-051-1/+1
| | | | ruby/ruby@75b644350a80bc31449b7cee741d309643dc27e1
* Nmake needs `VPATH`Nobuyoshi Nakada2020-06-051-2/+3
| | | | ruby/ruby@a593186a02714cb92ae2748c2b7c46a6c50b0977
* Add dependency on bundled yaml.h when usingNobuyoshi Nakada2020-06-051-1/+4
| | | | ruby/ruby@98006cea4fd517671dae508fade13203bc18301a
* Make psych.so deterministicJeremy Evans2019-06-011-1/+1
| | | | Fixes Ruby Bug #15890
* make frozen_string_literal: truefrozenSHIBATA Hiroshi2017-06-191-1/+1
|
* Temporary disabled to frozen literal string.SHIBATA Hiroshi2016-02-231-0/+1
| | | | ref. https://github.com/ruby/ruby/commit/3e92b635fb5422207b7bbdc924e292e51e21f040
* merge changes from ruby trunkAaron Patterson2012-12-131-10/+7
|
* make some header file adjustments for ruby compileAaron Patterson2012-11-271-1/+1
|
* only do have_header checks if we are embedding libyamlAaron Patterson2012-11-171-14/+16
|
* mkmf has a global for this testAaron Patterson2012-11-171-2/+1
|
* fix build on windowsAaron Patterson2012-11-171-5/+5
|
* only embed libyaml if the system does not have itAaron Patterson2012-11-171-1/+17
|
* for compiling on mswinMasaya TARUI2012-11-171-0/+5
| | | | I checked only mswin environment. Maybe it is required for mingw?
* embedding libyamlAaron Patterson2012-11-161-14/+11
|
* use RbConfig rather than ConfigAaron Patterson2012-07-181-2/+2
|
* synching with ruby trunkv1.1.0Aaron Patterson2011-03-301-1/+1
|
* removing cflag modificationsAaron Patterson2010-03-281-3/+0
|
* not using *args in the tree builderAaron Patterson2010-01-031-0/+4
|
* supporting io objects in the parse methodAaron Patterson2010-01-031-0/+2
|
* Clean up extconf.John Barnette2009-09-281-17/+11
|
* start_document is workingAaron Patterson2009-09-261-1/+17
|
* initial commitAaron Patterson2009-09-261-0/+9