Closed helmesjo closed 4 years ago
I've started working on a recipe that can be found here: helmesjo/conan-thrift. It is based on the bincrafters conan template.
Builds on GCC, Clang, Apple-Clang & Visual Studio (see here.
At the time of writing there are two missing pre-built packages (flex & bison) which fails two different jobs.
Considering this one done!
Great Job BTW. Hopefully we'll get the flex and bison working so your badges can all be green :)
Thanks! :)
@helmesjo Could you please re-open this as it isn't in conan-center right now?
Would you also be interested in bringing it to Bincrafters?
Done!
I'm not sure how much time I can put in atm, but if anyone would be willing to lead the way I'll do my best to tag along!
@Croydon I guess that package does not include the thrift compiler/executable? So we need to use thrift_installer/0.13.0@bincrafters/stable
for that?
Edit
Actually, the compiler is built (BUILD_COMPILER=True
), but the bin folder is never added to the envars: self.env_info.path.append(os.path.join(self.package_folder, "bin"))
@helmesjo the package in Conan Center Index includes the executable.
@uilianries Yes, but the bin folder is not appended to the package envars (this is needed for the virtualenv
generator, allowing find_program(thrift ...)
in cmake to work automagically).
@helmesjo indeed! I'll open a PR to fix it. Thanks!
Generally speaking, we don't split binaries and libraries anymore. The regular case should be now one package, no separate xyz_installer
package anymore
Repo: https://github.com/apache/thrift
About:
-Wikipedia
Note on dependencies:
-Thrift docs