mirror of
https://github.com/pfloos/quack
synced 2025-05-06 15:24:43 +02:00
Mac+Linux automatic selection
This commit is contained in:
parent
546ccd7833
commit
5cb83a6bbb
@ -66,11 +66,13 @@ FIX_ORDER_OF_LIBS=-Wl,--start-group
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
# TODO Change compiler here
|
if sys.platform in ["linux", "linux2"]:
|
||||||
# --------------------------
|
compiler = compile_gfortran_linux
|
||||||
|
elif sys.platform == "darwin":
|
||||||
#compiler = compile_gfortran_mac
|
compiler = compile_gfortran_mac
|
||||||
compiler = compile_gfortran_linux
|
else:
|
||||||
|
print("Unknown platform. Only Linux and Darwin are supported.")
|
||||||
|
sys.exit(-1)
|
||||||
|
|
||||||
header = """#
|
header = """#
|
||||||
# This file was automatically generated. Do not modify this file.
|
# This file was automatically generated. Do not modify this file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user