Skip to content

Commit

Permalink
tcc test is still broken on mac in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t committed Nov 24, 2024
1 parent f11556b commit 83f1ba1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
import platform

ipopt_model_dict = {}

Expand All @@ -13,9 +14,11 @@ def c():
return ipopt.Model(jit="C")

ipopt_model_dict["ipopt_llvm"] = llvm
# On macOS, loading dynamic library of Gurobi/COPT/Mosek before loading libtcc will cause memory error
# The reason is still unclear
ipopt_model_dict["ipopt_c"] = c
system = platform.system()
if system != "Darwin":
# On macOS, loading dynamic library of Gurobi/COPT/Mosek before loading libtcc will cause memory error
# The reason is still unclear
ipopt_model_dict["ipopt_c"] = c


@pytest.fixture(params=ipopt_model_dict.keys())
Expand Down

0 comments on commit 83f1ba1

Please sign in to comment.