google / yggdrasil-decision-forests

A library to train, evaluate, interpret, and productionize decision forest models such as Random Forest and Gradient Boosted Decision Trees.
https://ydf.readthedocs.io/
Apache License 2.0
499 stars 54 forks source link

building off external hard drive #11

Closed jdubz93 closed 3 years ago

jdubz93 commented 3 years ago
root@mocha-eft:/mnt/sdcard/yggdrasil-decision-forests# bazel --output_user_root=/mnt/sdcard/install build //examples:beg
inner_cc --config=linux_cpp17 --config=linux_avx2
Extracting Bazel installation...
FATAL: failed to create installation symlink '/mnt/sdcard/install/32ee77bc3907dda3edc97c30cd47096e/install': (error: 1): Operation not permitted
root@mocha-eft:/mnt/sdcard/yggdrasil-decision-forests#

Does anyone know if you can use bazel on a external hard disk. For example say I mounted an sd card on my raspberry pi. Can I use bazel to build from the mounted drive? I know bazel uses java which can cause some weird permission issues im assuming.

achoum commented 3 years ago

I don't have the knowledge to answer your question, but to run Bazel on a Raspberry pie, I would try the first steps of the Building TensorFlow for Raspberry Pi tutorial.

Yggdrasil DF being much simpler to compile than TF (much less dependencies), this should effectively be even easier than compiling TF :).