diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 12:56:28 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 12:56:28 -0600 |
commit | ada68bb9abe64b97f5256627cc48b953e30876b6 (patch) | |
tree | d118be163017712c4c8f0f52f241112635f8779d | |
parent | 372c92e7c1901dd7bdd1d2fd48bff205c31dca2d (diff) | |
download | chill-ada68bb9abe64b97f5256627cc48b953e30876b6.tar.gz chill-ada68bb9abe64b97f5256627cc48b953e30876b6.tar.bz2 chill-ada68bb9abe64b97f5256627cc48b953e30876b6.zip |
add python version
-rw-r--r-- | chill/CMakeLists.txt | 2 | ||||
-rw-r--r-- | chill/src/chillmodule.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/chill/CMakeLists.txt b/chill/CMakeLists.txt index 555f78b..6f58597 100644 --- a/chill/CMakeLists.txt +++ b/chill/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(PythonLibs REQUIRED) +find_package(PythonLibs 2.7 REQUIRED) find_package(BISON) find_package(FLEX) diff --git a/chill/src/chillmodule.cc b/chill/src/chillmodule.cc index 024ac33..0e41f88 100644 --- a/chill/src/chillmodule.cc +++ b/chill/src/chillmodule.cc @@ -341,6 +341,7 @@ static PyObject* chill_exit(PyObject* self, PyObject* args) { static void add_known(std::string cond_expr) { int num_dim = myloop->known.n_set(); std::vector<std::map<std::string, int> >* cond; + // TODO since we are using python, change this! cond = parse_relation_vector(cond_expr.c_str()); Relation rel(num_dim); |