Closed arghasen closed 6 years ago
I was not passing the TEMPLATES_PATH
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
@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.
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.
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