Skip to content

Commit

Permalink
set TPIE temp path according to compiler parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Muhs committed Aug 23, 2016
1 parent fa942d4 commit 682d35d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keyvi/src/cpp/dictionary/dictionary_compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ class DictionaryCompiler
if (params_.count(TEMPORARY_PATH_KEY) == 0) {
params_[TEMPORARY_PATH_KEY] =
boost::filesystem::temp_directory_path().string();

} else {
// set temp path for tpie
initializer_.SetTempDirectory(params_[TEMPORARY_PATH_KEY]);
}

TRACE("tmp path set to %s", params_[TEMPORARY_PATH_KEY].c_str());
Expand Down

0 comments on commit 682d35d

Please sign in to comment.