cleanup and compilation for python off
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user