cleanup and compilation for python off

This commit is contained in:
Axel Kohlmeyer
2020-12-07 17:47:21 -05:00
parent 280c19cf32
commit 3eb22e2406
6 changed files with 25 additions and 28 deletions

View File

@ -15,6 +15,8 @@
Contributing author: Nicholas Lubbers (LANL)
------------------------------------------------------------------------- */
#ifdef MLIAP_PYTHON
#include <Python.h>
#include "mliap_model_python.h"
#include "mliap_model_python_couple.h"
@ -196,3 +198,5 @@ double MLIAPModelPython::memory_usage()
// todo: get approximate memory usage in coupling code.
return 0;
}
#endif

View File

@ -1,12 +1,5 @@
# cython: language_level=3
# distutils: language = c++
# distutils: define_macros="LMP_MLIAPPY"
# distutils: extra_compile_args= -stdlib=libc++ -std=c++11
# distutils: include_dirs = ../STUBS .. ../MLIAP
# distutils: extra_link_args= -stdlib=libc++
# Note: only the language_level and language commands are needed, the rest pertain
# to building mliap_model_python_couple as a standalone python extension, which
# is experimental.
cimport cython