Pierre-Marie de Rodat
f760a5f1a2
Reorganize build procedure for Langkit_Support
...
This commit stops considering Langkit_Support as a generated project:
* move the "langkit/support" directory to "support" (not
"langkit_support" for convenience with tab-completion);
* move the meat of the "langkit_support_gpr.mako" template to the static
"langkit_support.gpr" file, and remove the template;
* remove the "build-langkit_support.py" script and all the corresponding
libmanage.py/langkit_support.py code;
* enhance the top-level "manage.py" script to build/setenv
Langkit_Support and import the packaging tools from
"build-langkit_support.py".
From now on, Langkit_Support is a really a standalone library project,
and thus a "real" dependency for Langkit-generated libraries.
TN: T914-012
2020-10-26 15:36:55 +01:00
Raphaël AMIARD
3613e38a24
RA22-015: Transition manage.sh to python
...
Easier to maintain and to extend.
2020-06-04 15:39:21 +02:00
Pierre-Marie de Rodat
2b9b33d6a0
Remove __future__ imports and adjust stylechecks
...
TN: T511-017
2020-05-26 12:33:48 +02:00
Pierre-Marie de Rodat
92c3637a38
Transition to Python3
...
TN: T511-017
2020-05-26 12:33:48 +02:00
Pierre-Marie de Rodat
f3e5e73c9e
create-project.py: fix a Python3 syntax error
...
In Python3, octal notation for integer literals requires the "0o"
prefix.
TN: T511-017
2020-05-26 12:33:48 +02:00
Raphaël AMIARD
3ae12509e3
Minor: clean build space for lib*lang before building
...
This ensures that if the version of GNAT has changed, we won't get an
uncaught exception from out of date libraries.
2020-03-12 14:42:52 +01:00
Raphaël AMIARD
90cb557908
RA22-015: Add lkt to the list of build deps
2020-02-25 11:40:10 +01:00
Romain Beguet
b412b6ea0b
RA22-015: Install libpythonlang on travis.
2020-02-12 14:56:10 +01:00
Pierre-Marie de Rodat
d282c0f54f
Make it possible to tune packaging platform on the command line
...
This is necessary in order to properly build a package for x86-linux on
x86_64-linux platforms, for instance.
TN: T127-017
2020-02-11 10:37:24 +01:00
Pierre-Marie de Rodat
b64a1d6804
build-langkit_support.py: add package-deps and package-std-dyn commands
...
These commands will allow one to easily package runtime dependencies for
Langkit-generated libraries.
TN: T127-017
2020-02-03 14:38:44 +01:00
Pierre-Marie de Rodat
60b9409e73
build-langkit_support.py: add --build-mode to the install command
...
TN: SA30-026
2019-11-05 14:34:44 +01:00
Pierre-Marie de Rodat
4ecc6aa871
Fix pastos in --library-types descriptions
...
TN: S402-020
2019-04-03 14:43:30 +02:00
Pierre-Marie de Rodat
50c1d316a0
libmanage.py: rework options to select library types
...
Remove the --enable-shared, --enable-static, --disable-shared and
--enable-static command-line options and introduce the --library-types
one. Keep the previous default behavior (build only shared libs by
default).
TN: S402-020
2019-04-02 17:57:29 +02:00
Pierre-Marie de Rodat
6eaee30705
scripts/create-project.py: enhance command-line doc
2019-02-07 17:44:36 +01:00
Pierre-Marie de Rodat
ffd078a4e5
Add a warning for undocumented nodes
...
TN: S129-007
2019-01-29 17:12:15 +01:00
Pierre-Marie de Rodat
a169aa8d4f
build-langkit_support.py: forward build mode to ManageScript.run
...
TN: R326-060
2018-03-28 15:15:36 +02:00
Pierre-Marie de Rodat
e906a73c70
build-langkit_support.py: forward --gargs build options
...
no-tn-check
2018-03-13 09:12:42 +01:00
Pierre-Marie de Rodat
b3d5715d7c
create-project.py: remove uses of the Row parser
...
TN: QB07-038
2017-11-07 18:06:58 +01:00
Pierre-Marie de Rodat
ed103c8d8f
Add a script to independently build and install Langkit_Support
...
TN: Q712-023
2017-09-12 16:54:40 +02:00
Pierre-Marie de Rodat
d967b1b3d2
Remove the root_grammar_class decorator
...
TN: Q606-051
2017-06-14 11:45:44 +02:00
Pierre-Marie de Rodat
e3c70979cc
create-project.py: replace the .compiled_type dep. with langkit.dsl
...
TN: Q606-051
2017-06-13 10:47:21 +02:00
Pierre-Marie de Rodat
919cc69de0
Move the generic list type creation to StructMetaclass
...
TN: Q606-051
2017-06-12 13:45:03 +02:00
Pierre-Marie de Rodat
d11c8a5d4a
Remove all unicode_literals imports from __future__
...
TN: Q223-029
2017-04-25 14:24:30 +02:00
Pierre-Marie de Rodat
9774baf84d
repo scripts: update __future__ imports
...
TN: Q223-029
2017-02-24 10:44:00 +01:00
Pierre-Marie de Rodat
44216adde7
Fix create-project.py after recent lexer improvements
...
Change-Id: I01009f0d9766b7bcc5e64cb49cb3f76b2139aebe
TN: Q119-036
2017-01-24 10:49:59 +01:00