__init__.py 583 B

123456789101112131415161718192021222324
  1. from devtools.yamaker.modules import Library
  2. from devtools.yamaker.project import NixSourceProject
  3. def post_install(self):
  4. self.yamakes["."] = self.module(
  5. Library,
  6. NO_UTIL=True,
  7. NO_RUNTIME=True,
  8. NO_COMPILER_WARNINGS=True,
  9. )
  10. fast_float = NixSourceProject(
  11. owners=["g:clickhouse", "g:cpp-contrib", "g:kikimr"],
  12. nixattr="fast-float",
  13. arcdir="contrib/restricted/fast_float",
  14. copy_sources=["include/fast_float/*.h"],
  15. disable_includes=[
  16. "stdfloat",
  17. "sys/byteorder.h",
  18. ],
  19. post_install=post_install,
  20. )