path: root/ext/psych/extconf.rb
AgeCommit message (Collapse)Author
2022-04-05[ruby/psych] Improve libyaml source downloading error messagesAlan Wu
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]: [errors]:
2022-04-04[ruby/psych] Propagate `CC` to libyamlNobuyoshi Nakada
It is needed for cross-compiling to set properly. Just `--target`/`--host`/`--build` seems insufficient on some platforms.
2022-04-01[ruby/psych] Output libyaml configure logNobuyoshi Nakada
2022-03-31[ruby/psych] Make a static library from PIC object filesNobuyoshi Nakada
On some platforms, PIC and non-PIC code are incompatible and the latter cannot be used for shared objects.
2022-03-31[ruby/psych] Remove `unknown` vendor for cross-compiling tool prefixNobuyoshi Nakada
2022-03-30[ruby/psych] Propagate the host configuration to libyamlNobuyoshi Nakada
2022-03-29[ruby/psych] Try bundled libyaml source if pre-installed is unavailableNobuyoshi Nakada
2022-03-29Merge psych masterHiroshi SHIBATA Notes: Merged:
2022-03-27ext/psych/extconf.rb: Fail when libyaml is unavailableYusuke Endoh
WHen libyaml is not installed, make fails with the following cryptic message: ``` gmake[2]: Entering directory '/home/chkbuild/chkbuild-crossruby/tmp/build/20220325T045825Z/ruby/ext/psych' gmake[2]: *** No rule to make target 'yaml/yaml.h', needed by 'psych.o'. Stop. gmake[2]: Leaving directory '/home/chkbuild/chkbuild-crossruby/tmp/build/20220325T045825Z/ruby/ext/psych' ``` I think it should give up building psych with a clear message. Notes: Merged:
2022-03-26[ruby/psych] Added condition for macOS homebrewHiroshi SHIBATA Co-authored-by: David Rodríguez <>
2019-12-05ext/psych/extconf.rb: braced VPATH is for nmake onlyNobuyoshi Nakada
2019-11-29Nmake needs `VPATH`Nobuyoshi Nakada
2019-11-29Add dependency on bundled yaml.h when usingNobuyoshi Nakada
2019-06-02Make deterministicJeremy Evans
Fixes Ruby Bug #15890
2017-07-14Merge psych-3.0.0.beta3 from ruby/psych.hsbt
* Rely on encoding tags to determine if string should be dumped as binary. * Specify "frozen_string_literal: true". * Support to binary release for mingw32 platform. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16handle ext/ as r53141naruse
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts fn;open(fn,"r+"){|f|\A(#!.*\n)?(#.*coding.*\n)?/,"\\&# frozen_string_literal: false\n");f.rewind;f.write s}}' git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29* ext/psych/extconf.rb: added --enable-bundled-libyaml option. thisusa
enforces using bundled libyaml. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28extconf.rb: mingw32nobu
* ext/psych/extconf.rb: mingw32 also needs macros for win32, not only mswin32. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28extconf.rb: VPATHnobu
* ext/psych/extconf.rb: compile sources in the source directory without copying by using VPATH. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28* ext/psych/extconf.rb: copy sources into build directory,ko1
not into srcdir. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28* ext/psych/extconf.rb: use embedded libyaml if no system libyaml istenderlove
found. [ruby-core:49463] * ext/psych/lib/psych.rb: updating to psych 2.0.0 * ext/psych/lib/psych/deprecated.rb: updated docs * ext/psych/psych.gemspec: updated to psych 2.0.0 * ext/psych/psych.h: fixing header file include for rename * ext/psych/psych_emitter.c: renamed to avoid libyaml conflict. * ext/psych/psych_emitter.h: ditto * ext/psych/psych_parser.c: ditto * ext/psych/psych_parser.h: ditto * ext/psych/psych_to_ruby.c: ditto * ext/psych/psych_to_ruby.h: ditto * ext/psych/psych_yaml_tree.c: ditto * ext/psych/psych_yaml_tree.h: ditto * ext/psych/yaml/LICENSE: embedding libyaml 0.1.4 * ext/psych/yaml/api.c: ditto * ext/psych/yaml/config.h: ditto * ext/psych/yaml/dumper.c: ditto * ext/psych/yaml/emitter.c: ditto * ext/psych/yaml/loader.c: ditto * ext/psych/yaml/parser.c: ditto * ext/psych/yaml/reader.c: ditto * ext/psych/yaml/scanner.c: ditto * ext/psych/yaml/writer.c: ditto * ext/psych/yaml/yaml.h: ditto * ext/psych/yaml/yaml_private.h: ditto git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/psych/extconf.rb: Use an exception instaed of bare abort.kosaki
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30* ext/psych/extconf.rb: install psych .so to not psych/ but direct.naruse
This prepends to install *.rb files to psych/psych. * ext/psych/lib/psych.rb: require ''. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29* ext/psych/extconf.rb: Making library detection more agnostic.tenderlove
[ruby-core:29118] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28* ext/psych/*: importing Psych to trunktenderlove
* test/psych/*: ditto * lib/psych/*: ditto git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e