fix win compile

This commit is contained in:
Tianqi Chen
2015-01-19 00:29:03 -08:00
parent 8e8926550f
commit 748389f052
2 changed files with 12 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ Rpack:
cp wrapper/xgboost_wrapper.cpp xgboost/src/wrapper
cp ./LICENSE xgboost
cat R-package/src/Makevars|sed '2s/.*/PKGROOT=./' > xgboost/src/Makevars
cat R-package/src/Makevars.win|sed '2s/.*/PKGROOT=./' > xgboost/src/Makevars.win
cp xgboost/src/Makevars xgboost/src/Makevars.win
R CMD build xgboost
rm -rf xgboost
R CMD check --as-cran xgboost*.tar.gz