選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

decisiontree-scm-1.rockspec 901B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package = "decisiontree"
  2. version = "scm-1"
  3. source = {
  4. url = "git://github.com/Twitter/decisiontree",
  5. tag = "master"
  6. }
  7. description = {
  8. summary = "Decision trees for Torch by Twitter",
  9. detailed = [[
  10. Classification and regression trees (CART).
  11. Gradients boosted decision trees (GBDT).
  12. ]],
  13. homepage = "https://github.com/Twitter/decisiontree",
  14. license = "BSD"
  15. }
  16. dependencies = {
  17. "torch >= 7.0",
  18. "moses >= 1.3.1",
  19. "xlua >= 1.0",
  20. "image >= 1.0",
  21. "luafilesystem >= 1.6.2",
  22. "sys >= 1.1",
  23. "paths >= 1.0",
  24. "ipc >= 1.0",
  25. "nn >= 1.0"
  26. }
  27. build = {
  28. type = "command",
  29. build_command = [[
  30. cmake -E make_directory build;
  31. cd build;
  32. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC;
  33. $(MAKE)
  34. ]],
  35. install_command = "cd build && $(MAKE) install"
  36. }