#
2080:651f5a37f5b8 |
| 10-Mar-2022 |
Alejandro Colomar |
Workarounded Clang bug triggered by Ruby.
Add -fdeclspec to NXT_RUBY_CFLAGS for Clang, if it's available.
Clang incorrectly reports 1 for __has_declspec_attribute(x) in some cases, such as MacOS or
Workarounded Clang bug triggered by Ruby.
Add -fdeclspec to NXT_RUBY_CFLAGS for Clang, if it's available.
Clang incorrectly reports 1 for __has_declspec_attribute(x) in some cases, such as MacOS or Cygwin. That causes ruby code to break. ruby added -fdeclspec to their CFLAGS in 2019 to workaround this bug, since it enables __declspec() and therefore, the compiler behavior matches what it reports.
Since we don't know what are all the architectures that trigger the clang bug, let's add the flag for all of them (especially since it should be harmless).
Add this workaround only at the time of configuring the ruby module. This way we don't clutter the global NXT_CFLAGS with an unnecessary flag.
Link: unit bug <https://github.com/nginx/unit/issues/653> Link: ruby bug <https://bugs.ruby-lang.org/issues/18616> Link: LLVM bug <https://github.com/llvm/llvm-project/issues/49958> Commit: LLVM: Add -fdeclspec <d170c4b57a91adc74ca89c6d4af616a00323b12c> Commit: ruby: Use -fdeclspec <0958e19ffb047781fe1506760c7cbd8d7fe74e57>
show more ...
|
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0 |
|
#
1673:883f2f79c2f6 |
| 29-Oct-2020 |
Tiago Natel de Moura |
Isolation: mounting of procfs by default when using "rootfs".
|
Revision tags: 1.20.0-1, 1.20.0 |
|
#
1585:e941d77852d1 |
| 25-Aug-2020 |
Tiago Natel de Moura |
Isolation: added "automount" option.
Now it's possible to disable default bind mounts of languages by setting:
{ "isolation": { "automount": { "language_deps": fal
Isolation: added "automount" option.
Now it's possible to disable default bind mounts of languages by setting:
{ "isolation": { "automount": { "language_deps": false } } }
In this case, the user is responsible to provide a "rootfs" containing the language libraries and required files for the application.
show more ...
|
Revision tags: 1.19.0-1, 1.19.0 |
|
#
1540:624bb8f866b0 |
| 08-Aug-2020 |
Valentin Bartenev |
Ruby: fixed gem mount paths.
The gem paths must depend on the specified interpreter. Also, gemdir looks redundant as it's already included in Gem.default_path().
|
#
1539:33581f923180 |
| 08-Aug-2020 |
Valentin Bartenev |
Ruby: simplified commands in ./configure script.
There is no reason to use printf instead of just print.
No functional changes.
|
#
1538:18eb0282c859 |
| 08-Aug-2020 |
Valentin Bartenev |
Ruby: removed unused variable from ./configure script.
|
#
1537:b472ba224472 |
| 08-Aug-2020 |
Valentin Bartenev |
Configure: verifying the Ruby library path.
An attempt to build a Ruby module for a custom Ruby installation that has the same major version as the system Ruby may unexpectedly cause the use of the
Configure: verifying the Ruby library path.
An attempt to build a Ruby module for a custom Ruby installation that has the same major version as the system Ruby may unexpectedly cause the use of the system Ruby library.
This closes #449 issue on GitHub.
show more ...
|
#
1532:4b4d0c3ce94b |
| 30-Jul-2020 |
Tiago Natel de Moura |
Isolation: fixed the generation of mounts table.
Since the introduction of rootfs feature, some language modules can't be configured multiple times.
Now the configure generates a separate nxt_<modu
Isolation: fixed the generation of mounts table.
Since the introduction of rootfs feature, some language modules can't be configured multiple times.
Now the configure generates a separate nxt_<module>_mounts.h for each module compiled.
show more ...
|
Revision tags: 1.18.0-1, 1.18.0 |
|
#
1489:4a3ec07f4b19 |
| 28-May-2020 |
Tiago Natel de Moura |
Added "rootfs" feature.
|
Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0 |
|
#
1217:ed8c4e263152 |
| 02-Oct-2019 |
Max Romanov |
Fixed "make tests" build without preceding "make".
Currently almost all Unit object files depends on generated nxt_version.h. This patch adds missing dependence and fixes running make with multiple
Fixed "make tests" build without preceding "make".
Currently almost all Unit object files depends on generated nxt_version.h. This patch adds missing dependence and fixes running make with multiple jobs.
This closes #318 issue on GitHub.
show more ...
|
Revision tags: 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7 |
|
#
863:175bb94e4c74 |
| 04-Dec-2018 |
Valentin Bartenev |
Ruby: rpath made optional.
In most cases it is not needed because Ruby libraries are in the default path. At the same time, rpath pointing to the default path is prohibited by rpmbuild on Fedora.
T
Ruby: rpath made optional.
In most cases it is not needed because Ruby libraries are in the default path. At the same time, rpath pointing to the default path is prohibited by rpmbuild on Fedora.
This is related to issue #87 on GitHub.
show more ...
|
Revision tags: 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4 |
|
#
743:e0f0cd7d244a |
| 06-Aug-2018 |
Max Romanov |
Unit application library.
Library now used in all language modules. Old 'nxt_app_*' code removed.
See src/test/nxt_unit_app_test.c for usage sample.
|
Revision tags: 1.3 |
|
#
706:9b7baae18541 |
| 28-Jun-2018 |
Igor Sysoev |
Added check of "make install" ability.
This closes #136 issue on GitHub.
|
Revision tags: 1.2, 1.1, 1.0 |
|
#
612:217e48a3b091 |
| 04-Apr-2018 |
Alexander Borisov |
Changed version processing for modules.
|
#
605:ab74cec14032 |
| 02-Apr-2018 |
sshaw |
Ruby: correctly getting version from RbConfig::CONFIG.
This closes #90 PR on GitHub.
|
Revision tags: 0.7 |
|
#
584:28e8e1877e62 |
| 21-Mar-2018 |
Alexander Borisov |
Added Ruby support.
|