giellalt / template-lang-und

A template repo for new languages, as well as to update existing language repos with.
https://giellalt.uit.no/
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Don't compile an fst that is not needed (Bugzilla Bug 2656) #32

Open albbas opened 4 years ago

albbas commented 4 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 2656

Date: 2020-03-31T07:41:30+02:00 From: Sjur Nørstebø Moshagen <> To: Sjur Nørstebø Moshagen <> CC: borre.gaup, chiara.argese

Blocker for: #2655 Last updated: 2020-03-31T07:41:30+02:00

albbas commented 4 years ago

Comment 13871

Date: 2020-03-31 07:41:30 +0200 From: Sjur Nørstebø Moshagen <>

Example: there's no point in compiling both -desc and -norm if there are no +Err/* tags in the fst. This can be checked for during configure time, and thus easily be made to skip.

In the case of -desc vs -norm, there are four options at least:

The symlink alternative is probably the best one, as all other operations can assume fixed filenames.

Other candidates:

There might be more, but most other fst's are built conditionally in any case, requiring explicit enabling at configure time.

Another thing is to look at the defaults: e.g. do we always need the area variants (when those are declared), or should the default be to not build them, requiring enabling at config time instead? The same goes for orthographical and writing system variants.