The Skip subprogram existed before Is_Deactivated, but both ended
serving the same main purpose. A skipped action is an action whose signature
is correct. A deactivated action, on the other hand, is an action that should
not be executed, regardless of its signature. An action can be deactivated
either manually or automatically when a project's nature does not allow its
execution, for example when linking is disabled.
Moreover, this change fixes an issue where a manually skipped action had an
invalid signature, which caused the entire process manager execution to fail.
Issue: eng/gpr/gpr-issues#765
Merge request eng/gpr/gpr!784 from branch 'mr/jicquel/gpr-issues#765' into 'main'
The Skip subprogram existed before Is_Deactivated, but both ended
serving the same main purpose. A skipped action is an action whose signature
is correct. A deactivated action, on the other hand, is an action that should
not be executed, regardless of its signature. An action can be deactivated
either manually or automatically when a project's nature does not allow its
execution, for example when linking is disabled.
Moreover, this change fixes an issue where a manually skipped action had an
invalid signature, which caused the entire process manager execution to fail.
Issue: eng/gpr/gpr-issues#765
Each view is checked for validity in topological order. Before this patch,
the entire closure of each view was examined to detect duplicate library names
before ensuring that all views were valid. Accessing an invalid library view
that did not have a library name caused exceptions during the library name
uniqueness check.
Fixes eng/gpr/gpr-issues#783
Merge request eng/gpr/gpr!782 from branch 'mr/jicquel/gpr-issues#783' into 'main'
Each view is checked for validity in topological order. Before this patch,
the entire closure of each view was examined to detect duplicate library names
before ensuring that all views were valid. Accessing an invalid library view
that did not have a library name caused exceptions during the library name
uniqueness check.
Fixes eng/gpr/gpr-issues#783
One expected test output was not up to date.
Fixes: eng/gpr/gpr-issues#787
Merge request eng/gpr/gpr!780 from branch 'mr/jicquel/gpr-issues#787' into 'main'
The libutil dependency has been removed from GNAT on Linux.
Fixes: eng/gpr/gpr-issues#792
Merge request eng/gpr/gpr!781 from branch 'mr/jicquel/gpr-issues#792' into 'main'
The new option --cross-install can be used to use a cross-specific
directory structure for cross installation. The --prefix option
specified the root directory for the installation, and the
current <target> and <runtime> are added to it to create the final
location of the cross installation:
```
<prefix>[/<target>[/<runtime>]]
include
lib
shared
gpr
<prj>.gpr
```
TN eng/gpr/gpr-issues#134
Merge request eng/gpr/gpr!769 from branch 'topic/gprinstall-cross' into 'main'
The new option --cross-install can be used to use a cross-specific
directory structure for cross installation. The --prefix option
specified the root directory for the installation, and the
current <target> and <runtime> are added to it to create the final
location of the cross installation:
<prefix>[/<target>[/<runtime>]]
include
lib
shared
gpr
<prj>.gpr
TN eng/gpr/gpr-issues#134
When a project is installed, most rpaths become unusable. Performance can
become an issue when searching for rpaths located on a remote filesystem.
Therefore, rpath generation is now disabled by default.
Issue: eng/gpr/gpr-issues#748
Merge request eng/gpr/gpr!779 from branch 'mr/jicquel/gpr-issues#748' into 'main'
When a project is installed, most rpaths become unusable. Performance can
become an issue when searching for rpaths located on a remote filesystem.
Therefore, rpath generation is now disabled by default.
Issue: eng/gpr/gpr-issues#748
A relative path may become very long if it has to traverse up to the filesystem
root before descending again to the actual path.
Fixes: eng/gpr/gpr-issues#781
Merge request eng/gpr/gpr!776 from branch 'mr/jicquel/gpr-issues#781' into 'main'
A relative path may become very long if it has to traverse up to the filesystem
root before descending again to the actual path.
Fixes: eng/gpr/gpr-issues#781
Several targets, such as c, ccg, or jvm, do not support linking.
To avoid hardcoded values in the gpr2 code, a new attribute, Disable_Linking,
has been introduced. It defaults to false, so only the targets mentioned above
need to define it.
Depends-On: eng/gpr/gprconfig_kb!87
Issue: eng/gpr/gpr-issues#765
Merge request eng/gpr/gpr!766 from branch 'mr/jicquel/gpr-issues#765' into 'main'