| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/cantera/files/ |
Upload File : |
--- SConstruct.orig 2022-05-01 15:31:54 UTC
+++ SConstruct
@@ -805,6 +805,9 @@ elif "icx" in env.subst("$CC"):
elif "clang" in env.subst("$CC"):
config.select("clang")
+elif "cc" in env.subst("$CC"):
+ config.select("clang")
+
else:
print(f"WARNING: Unrecognized C compiler '{env['CC']}'")
@@ -869,10 +872,10 @@ if "sdist" in COMMAND_LINE_TARGETS:
logger.info("'sdist' target was specified. Setting 'use_pch' to False.")
env["use_pch"] = False
-for arg in ARGUMENTS:
- if arg not in config:
- logger.error(f"Encountered unexpected command line option: '{arg}'")
- sys.exit(1)
+#for arg in ARGUMENTS:
+# if arg not in config:
+# logger.error(f"Encountered unexpected command line option: '{arg}'")
+# sys.exit(1)
env["cantera_version"] = "2.6.0"
# For use where pre-release tags are not permitted (MSI, sonames)
@@ -1673,11 +1676,11 @@ if env["matlab_toolbox"] == "y":
"SUNDIALS libraries and skip building the Matlab toolbox.")
sys.exit(1)
- if not (os.path.isdir(matlab_path) and
- os.path.isdir(pjoin(matlab_path, "extern"))):
- logger.error(
- f"Path set for 'matlab_path' is not correct. Path was '{matlab_path}'")
- sys.exit(1)
+ #if not (os.path.isdir(matlab_path) and
+ # os.path.isdir(pjoin(matlab_path, "extern"))):
+ # logger.error(
+ # f"Path set for 'matlab_path' is not correct. Path was '{matlab_path}'")
+ # sys.exit(1)
# **********************************************