Skip to content
Snippets Groups Projects
Commit 49fd04a1 authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

Persistent site.cfg.default environ section

parent c88e7944
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,28 @@
with open("site.cfg.default", "w") as configfile:
config.write(configfile)
configfile.write(
"""
## Uncomment and specify the following options to modify compilation of
## extensions.
## To modify compiler used to build Cython extensions:
# MPICXX =
# CC =
# LDSHARED =
## To modify compiler used to build Pythran extensions (or alternatively,
## set ~/.pythranrc. A word of caution --- the pythranrc approach may result in
## race condition for setting and unsetting compilers for pythran > 0.8.6):
# CXX =
## To modify target architecture while building Pythran extensions
## Useful when cross-compiling. See whether it is required by comparing:
## gcc -march=native -Q --help=target
## gcc -march=$CARCH -Q --help=target
# CARCH =
"""
)
def get_config():
......
......@@ -7,6 +7,8 @@
fluidsim.solvers.ns2d.bouss = True
[environ]
## Uncomment and specify the following options to modify compilation of
## extensions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment