# Struggling with Alire

**URL:** <https://forum.ada-lang.io/t/struggling-with-alire/4974>\
**Category:** Help\
**Created:** [November 20, 2026, 1:32pm UTC](https://forum.ada-lang.io/t/struggling-with-alire/4974 "2026-11-20T13:32:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nordic\_Dogsledding](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/nordic_dogsledding/32/547_2.png) [@Nordic\_Dogsledding](https://forum.ada-lang.io/u/Nordic_Dogsledding)\
**Post date:** [November 20, 2026, 1:32pm UTC](https://forum.ada-lang.io/t/struggling-with-alire/4974/1 "2026-11-20T13:32:52Z")

</div>

In my crate “si\_units”, there is a generated directory “alire” holding:

- directory flags
- file alire.lock
- file build\_hash\_inputs
- file settings.toml

build\_hash\_inputs says:

- profile:si\_units=DEVELOPMENT
- switches:si\_units=-Og,-fdata-sections,-ffunction-sections,-g,…

settings.toml says:

- last\_build\_profile = “si\_units=DEVELOPMENT”

These were the values automatically set in “si\_units\_config.gpr” when my crate was created.  
I changed the corresponding values meanwhile in “si\_units\_config.gpr”.  
Is this discrepancy detrimental?  
If not, what’s the purpose of these outdated files?  
How are they updated?

Further findings in directory “config”:  
There are three files si\_units.(ads,gpr,h) all holding the same information for the following items:  
Crate\_Version, Build\_Profile  
I just changed the gpr file contents (see above). What’s the effect of these discrepancies?

What a terrible nuisance having the same info at a plethory of different files!  
Are there more of these?  
Is there a simple way to keep them synchronized?

_A liar_ seems a very good moniker for _Alire_!

About my problems with “si\_units\_config.gpr” in a separate thread.

---

<div class="post-metadata">

**Author:** ![jere](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/jere/32/87_2.png) [@jere](https://forum.ada-lang.io/u/jere)\
**Post date:** [November 20, 2026, 2:46pm UTC](https://forum.ada-lang.io/t/struggling-with-alire/4974/2 "2026-11-20T14:46:00Z")

</div>

My general rule of thumb is to not change anything in the alire directory. It can be changed each time you compile. I treat them as temporary.

If I need any changes I make them in the primary GPR file for the project.
