Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs_config.py: config.compilers['version'] = @CC_VERSION@ not replaced by autotools #83

Closed
christoph-conrads opened this issue Jun 29, 2021 · 3 comments

Comments

@christoph-conrads
Copy link

In the code below, @CC_VERSION@ is not replaced by autotools when building Code_Saturne 6.0.5, 6.3.1, and 7.0.0 in a Linux container with Devuan Beowulf (Debian 10 without systemd).

Template input:

self.compilers = {'cc': "@CC@",
'cxx': "@CXX@",
'fc': "@FC@",
'ld': "@CS_LD@",
'version': "@CC_VERSION@"}

Output (here with prefix.cs-6.3.1/lib/python3.7/site-packages/code_saturne/cs_config.py):

        self.compilers = {'cc': "gcc",
                          'cxx': "g++",
                          'fc': "gfortran",
                          'ld': "gcc",
                          'version': "@CC_VERSION@"}

Let me know if you need log files.

@christoph-conrads
Copy link
Author

Line 171 is also not substituted by Autotools:

self.features['nls'] = '@USE_NLS@'

@YvanFournier
Copy link
Contributor

The CC_VERSION issue has been fixed in the master branch in commit 4a08ac5.

The USE_NLS issue is related to the removal/deactivation of gettext-based internationalization in v6.1, so I also need to remove that.

No need for log files here, I reproduce this.

@YvanFournier
Copy link
Contributor

Fixed in commit c55950b (master).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants