# Download xgboost
git clone --recursive https://github.com/dmlc/xgboost
# Remove a check which errors on cross compiling, ideally I'd have a better solution here
cp xgboost/R-package/configure xgboost/R-package/configure_old
sed '2799s/yes/sabotaged/' xgboost/R-package/configure_old > xgboost/R-package/configure
R
> rwasm::build("./xgboost/R-package")
The problem, however, is that the xgboost C++ code makes reference to files in the xgboost folder, but wasm_build is copying the sources to a temporary folder. Thus, the build fails:
I'm trying to build xgboost using rwasm.
I've gotten this far
The problem, however, is that the xgboost C++ code makes reference to files in the xgboost folder, but
wasm_build
is copying the sources to a temporary folder. Thus, the build fails:This is even though the call to em++ is valid, as can be seen:
This returns without error and creates xgboost_R.o
I'm not sure how to proceed. Perhaps a function could be created that allows copying of underlying directories?