Skip to content

Commit

Permalink
Merge pull request #1672 from priyanshuone6/cmakebuild
Browse files Browse the repository at this point in the history
Add CMakeBuild to package data
  • Loading branch information
valentinsulzer committed Sep 15, 2021
2 parents 28ff4b5 + 96ea752 commit d5e818a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def compile_KLU():
pybamm_data.append("./version")
pybamm_data.append("./CITATIONS.txt")
pybamm_data.append("./plotting/pybamm.mplstyle")
pybamm_data.append("../CMakeBuild.py")

idaklu_ext = Extension("pybamm.solvers.idaklu", ["pybamm/solvers/c_solvers/idaklu.cpp"])
ext_modules = [idaklu_ext] if compile_KLU() else []
Expand Down

0 comments on commit d5e818a

Please sign in to comment.