facebookarchive / bistro

Bistro is a flexible distributed scheduler, a high-performance framework supporting multiple paradigms while retaining ease of configuration, management, and monitoring.
https://bistro.io
MIT License
1.03k stars 158 forks source link

Cannot build Bistro on Debian 9 #28

Closed arghasen closed 6 years ago

arghasen commented 6 years ago

When i run run_cmake.sh I get the following error. admin@instance-bistro-test:/bistro/bistro/bistro/cmake$ ./run-cmake.sh Debug /bistro/bistro/bistro/cmake/deps /bistro/bistro/bistro/cmake /bistro/bistro/bistro/cmake Generating Thrift Files /bistro /bistro/bistro/bistro !!! Unrecognized option: /bistro/bistro/bistro/cmake/../../.. Usage: thrift [options] file

arghasen commented 6 years ago

I was not passing the TEMPLATES_PATH

snarkmaster commented 6 years ago

Thanks for the note, @arghasen ! It looks like the top-of-file docblock needs an update — I will fix it.

By the way, did you find that building in a Docker container via fbcode_builder was not workable for you? It's our main open-source testing path, and it has good build-caching support (both Docker cache & ccache), so it should be nice once you get familiar with the scripts:

https://github.com/facebook/bistro/tree/master/build/fbcode_builder

arghasen commented 5 years ago

@snarkmaster I had not used docker earlier so it was not a path I tried. I am more comfortable with the standard make /cmake based toolchain.

snarkmaster commented 5 years ago

Got it. For this project, Docker is just a way of getting all the right dependencies in a reliable, automated way. Outside of a controlled container, it's a lot more work to write code that will correctly set up all the dependencies for Bistro. The Docker method still uses automake & cmake to build the various projects.