4120 Commits

Author SHA1 Message Date
Vincent Jicquel
b07f6ff68a Add the unused Disable_Linking attribute
It has no effect on gprbuild1, but it has been added for gpr2 usage.
This code was added to prevent errors caused by unrecognized attributes.

Issue: eng/gpr/gpr-issues#765

Merge request eng/gpr/gprbuild!142 from branch 'mr/jicquel/gpr-issues#765' into 'master'
2026-01-22 16:27:16 +00:00
Vincent Jicquel
ad0ce0f0c0 Add the unused Disable_Linking attribute
It has no effect on gprbuild1, but it has been added for gpr2 usage.
This code was added to prevent errors caused by unrecognized attributes.

Issue: eng/gpr/gpr-issues#765
2026-01-20 18:26:33 +01:00
Eric Botcazou
b84df5ca24 Fix another case of generic formal parameter used outside of instance
The modified compiler gives:

gpr-compilation-process.adb:44:29: error: operator for type "String" is not declared in "Env_Maps"

Issue: eng/toolchain/gnat#1597

Merge request eng/gpr/gprbuild!139 from branch 'mr/botcazou-gnat#1597' into 'master'
2025-10-30 13:25:23 +01:00
Eric Botcazou
6421e35027 Fix another case of generic formal parameter used outside of instance
The modified compiler gives:

gpr-compilation-process.adb:44:29: error: operator for type "String" is not declared in "Env_Maps"

Issue: eng/toolchain/gnat#1597
2025-10-29 22:11:27 +01:00
Pierre-Marie de Rodat
1d33aceb9e Documentation: fix the descriptions of --src-subdirs
For https://gitlab.adacore-it.com/eng/das/cov/gnatcoverage/-/issues/464

Merge request eng/gpr/gprbuild!138 from branch 'mr/pmderodat/doc-src-subdirs' into 'master'
2025-09-30 09:38:44 +00:00
Pierre-Marie de Rodat
275d2827fd Documentation: fix the descriptions of --src-subdirs 2025-09-22 12:57:02 +02:00
Pierre Béguet
bdfb879cf0 Proper handling executable name for gprbuild1
Issue: eng/gpr/gpr-issues#686

Issue: eng/gpr/gpr-issues#690

Merge request eng/gpr/gprbuild!137 from branch 'issue-686-create-a-gprdriver-that-chooses-between-2-engines-of-gprtools' into 'master'
v26.0.0
2025-09-15 13:19:27 +00:00
Pierre Béguet
f1e63aa673 Properly handle executable name for gprbuild1
Issue: eng/gpr/gpr-issues#686

Issue: eng/gpr/gpr-issues#690
2025-09-15 14:28:01 +02:00
Pierre Béguet
d8ceead3a9 Adapt the "try --help" output message to the new packaging
Depends-On: eng/shared/anod!6809

Depends-On: eng/gpr/gprbuild-internal!235

Depends-On: eng/gpr/gpr!663

Issue: eng/gpr/gpr-issues#686

Merge request eng/gpr/gprbuild!136 from branch 'issue-686-create-a-gprdriver-that-chooses-between-2-engines-of-gprtools' into 'master'
2025-09-10 13:55:39 +00:00
Pierre Béguet
2a4d4a881c Adapt the "try --help" output message to the new packaging
Issue : eng/gpr/gpr_issues#686
2025-09-09 17:24:53 +00:00
Vasiliy Fofanov
ba08041848 Revert "Switch back use of To_Unix_Time to the 32-bit variant"
This reverts merge request !134

The 64-bit variant is already available in GCC 15 and can be used.

Closes eng/gpr/gpr-issues#688

Merge request eng/gpr/gprbuild!135 from branch 'revert-4ebbef90' into 'master'
2025-09-08 19:46:12 +00:00
Vasiliy Fofanov
36f5357777 Revert "Switch back use of To_Unix_Time to the 32-bit variant"
This reverts merge request !134
2025-09-08 19:58:32 +02:00
Jerome Lambourg
4ebbef90b2 Switch back use of To_Unix_Time to the 32-bit variant
The 64-bit variant is not available on all toolchains, in particular
it is not part yet of the community version of GNAT.

Fixes eng/gpr/gpr-issues#688

Merge request eng/gpr/gprbuild!134 from branch 'mr/lambourg/unix-time-call' into 'master'
2025-09-04 10:21:03 +02:00
Jerome Lambourg
3b1f717274 Fix some warnings, preventing building the tools in debug mode
no-issue-check
2025-09-03 17:53:58 +02:00
Jerome Lambourg
5c89819c8d Switch back use of To_Unix_Time to the 32-bit variant
The 64-bit variant is not available on all toolchains, in particular
it is not part yet of the community version of GNAT.

For eng/gpr/gpr-issues#688
2025-09-03 17:52:32 +02:00
Pierre Béguet
b98796bed4 Add delays to avoid polling on tokens preordering to save CPU usage
Issue : eng/gpr/gpr-issues#670

Merge request eng/gpr/gprbuild!133 from branch 'issue-670-cs0041361-gprbuild-with-jobserver-busywaits-for-tokens' into 'master'
2025-08-21 16:39:38 +00:00
Pierre Béguet
d5d725fff4 Add delays to avoid polling on tokens preordering to save CPU usage
Issue : eng/gpr/gpr-issues#670
2025-08-21 16:12:49 +02:00
Eric Botcazou
433ca703ff Remove use of System.Os_Lib.time_t type
The type is misleading since it has nothing to do with C's time_t (it is
defined as a subtype of Long_Long_Integer) and will eventually be removed.

The change also replaces a call to Ada.Calendar.Conversions.To_Unix_Time,
which is obsolescent, by one to Ada.Calendar.Conversions.To_Unix_Time_64.

Issue: eng/toolchain/gnat#1095

Merge request eng/gpr/gprbuild!132 from branch 'mr/botcazou-gnat#1095' into 'master'
2025-07-21 18:05:22 +02:00
Eric Botcazou
6b6be939d6 Remove use of System.Os_Lib.time_t type
The type is misleading since it has nothing to do with C's time_t (it is
defined as a subtype of Long_Long_Integer) and will eventually be removed.

The change also replaces a call to Ada.Calendar.Conversions.To_Unix_Time,
which is obsolescent, by one to Ada.Calendar.Conversions.To_Unix_Time_64.

Issue: eng/toolchain/gnat#1095
2025-07-21 11:41:01 +02:00
Jerome Lambourg
8ff27e5a0a Adjust the gprbuild CI to use templates
no-issue-check

Merge request eng/gpr/gprbuild!131 from branch 'mr/lambourg/ci-templates' into 'master'
2025-07-21 09:59:06 +02:00
Jerome Lambourg
dc2bf62a81 Adjust the gprbuild CI to use templates
no-issue-check
2025-07-18 10:59:11 +02:00
Jerome Lambourg
ba986d1e52 Fix gprbuild installation on Windows in gprbuildonly mode
The gprinstall manifest file should not be installed.

For eng/gpr/gpr-issues#548
2025-03-12 22:09:12 +01:00
Jerome Lambourg
aaa60e64a9 Allow building only gprbuild and associated gprlib and gprbind
The other tools are now superseeded by the ones from the gpr
repository.

For eng/gpr/gpr-issues#548

Depends-On: eng/gpr/gpr!540

Depends-On: eng/gpr/gprbuild-internal!183

Depends-On: eng/shared/anod!5691

Merge request eng/gpr/gprbuild!129 from branch 'mr/lambourg/allow-gprbuild-only-build' into 'master'
2025-03-11 10:31:01 +00:00
Jerome Lambourg
b18050cc63 Remove the check-gpr2ls test from the CI
no-issue-check
2025-03-11 09:48:16 +01:00
Jerome Lambourg
3e6076ae31 Allow building only gprbuild and associated gprlib and gprbind
The other tools are now superseeded by the ones from the gpr
repository.

For eng/gpr/gpr-issues#538
2025-03-10 13:18:16 +01:00