Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/graph.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-10-28 05:45:35 +0300
committerGitHub <noreply@github.com>2016-10-28 05:45:35 +0300
commit47afe90ed1f047ff672deb5416aebcc7db051302 (patch)
treeeedd582b354994b5ecbd74aa6d4bc8d99c61dfc5
parentf6062bc79455cb5da77601f7b6ed6f919c735a89 (diff)
parent41bfb5e56589cf9ea1f408608fdfd57c654398a7 (diff)
Merge pull request #29 from BTNC/master
fix rockspec for windows
-rw-r--r--rocks/graph-scm-1.rockspec5
1 files changed, 1 insertions, 4 deletions
diff --git a/rocks/graph-scm-1.rockspec b/rocks/graph-scm-1.rockspec
index c16b42a..7eb2bb7 100644
--- a/rocks/graph-scm-1.rockspec
+++ b/rocks/graph-scm-1.rockspec
@@ -19,10 +19,7 @@ dependencies = {
build = {
type = "command",
build_command = [[
-cmake -E make_directory build;
-cd build;
-cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)";
-$(MAKE)
+cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)
]],
install_command = "cd build && $(MAKE) install"
}