#
2397:817968931c58 |
| 22-Mar-2023 |
Alejandro Colomar |
Auto: mirroring installation structure in build tree.
This makes the build tree more organized, which is good for adding new stuff. Now, it's useful for example for adding manual pages in man3/, bu
Auto: mirroring installation structure in build tree.
This makes the build tree more organized, which is good for adding new stuff. Now, it's useful for example for adding manual pages in man3/, but it may be useful in the future for example for extending the build system to run linters (e.g., clang-tidy(1), Clang analyzer, ...) on the C source code.
Previously, the build tree was quite flat, and looked like this (after `./configure && make`):
$ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── echo ├── libnxt.a ├── nxt_auto_config.h ├── nxt_version.h ├── unitd └── unitd.8
1 directory, 9 files
And after this patch, it looks like this:
$ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── bin │ └── echo ├── include │ ├── nxt_auto_config.h │ └── nxt_version.h ├── lib │ ├── libnxt.a │ └── unit │ └── modules ├── sbin │ └── unitd ├── share │ └── man │ └── man8 │ └── unitd.8 └── var ├── lib │ └── unit ├── log │ └── unit └── run └── unit
17 directories, 9 files
It also solves one issue introduced in 5a37171f733f ("Added default values for pathnames."). Before that commit, it was possible to run unitd from the build system (`./build/unitd`). Now, since it expects files in a very specific location, that has been broken. By having a directory structure that mirrors the installation, it's possible to trick it to believe it's installed, and run it from there:
$ ./configure --prefix=./build $ make $ ./build/sbin/unitd
Fixes: 5a37171f733f ("Added default values for pathnames.") Reported-by: Liam Crilly <liam@nginx.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Andrei Zeliankou <zelenkov@nginx.com> Cc: Zhidao Hong <z.hong@f5.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
show more ...
|
Revision tags: 1.29.1-1, 1.29.1, 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0, 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, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 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 |
|
#
1255:944efece387a |
| 07-Nov-2019 |
Valentin Bartenev |
Respecting AR environment variable to configure ar binary.
|
Revision tags: 1.12.0-1, 1.12.0, 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, 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 |
|
#
709:e1af38445a13 |
| 28-Jun-2018 |
Igor Sysoev |
Removed -mmacosx-version-min option.
|
Revision tags: 1.2, 1.1 |
|
#
644:44f8dcca7f58 |
| 15-Apr-2018 |
Sergey Kandaurov |
Enabled exporting symbols for OpenBSD.
|
Revision tags: 1.0, 0.7, 0.6, 0.5 |
|
#
510:4979fe09d9cd |
| 31-Jan-2018 |
Alexander Borisov |
Added Perl support.
|
Revision tags: 0.4 |
|
#
461:4d7e73b40330 |
| 11-Jan-2018 |
Igor Sysoev |
Fixed DragonFly BSD shared memory implementation.
|
Revision tags: 0.3 |
|
#
420:d72911033819 |
| 26-Dec-2017 |
Sergey Kandaurov |
Enabled exporting symbols for NetBSD.
|
Revision tags: 0.2 |
|
#
335:8ca1d69ec3d8 |
| 27-Sep-2017 |
Sergey Kandaurov |
Supported linking with -lrt on BSD systems.
OpenBSD lacks support of librt.
|
Revision tags: 0.1 |
|
#
216:07257705cd64 |
| 17-Aug-2017 |
Igor Sysoev |
The new module configuration interface.
Configuration and building example:
./configure ./configure python ./configure php ./configure go make all
or
./configure make nginext ./co
The new module configuration interface.
Configuration and building example:
./configure ./configure python ./configure php ./configure go make all
or
./configure make nginext ./configure python make python ./configure php make php ./configure go make go
Modules configuration options and building examples:
./configure python --module=python2 --config=python2.7-config make python2
./configure php --module=php7 --config=php7.0-config --lib-path=/usr/local/php7.0 make php7
./configure go --go=go1.6 --go-path=${HOME}/go1.6 make go1.6
show more ...
|
#
0:a63ceefd6ab0 |
| 17-Jan-2017 |
Igor Sysoev |
Initial version.
|