build_handwritten.yaml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. '#1': This file describes the list of targets and dependencies.
  2. '#2': It is used among other things to generate all of our project files.
  3. '#3': Please refer to the templates directory for more information.
  4. settings:
  5. '#01': The public version number of the library.
  6. '#02': ===
  7. '#03': Please update the 'g_stands_for' field periodically with a new g word
  8. '#04': not listed in doc/g_stands_for.md - and update that document to list the
  9. '#05': new word. When doing so, please also update BUILD.
  10. '#06': ===
  11. '#07': Master always has a "-dev" suffix
  12. '#08': Use "-preN" suffixes to identify pre-release versions
  13. '#09': Per-language overrides are possible with (eg) ruby_version tag here
  14. '#10': See the expand_version.py for all the quirks here
  15. core_version: 14.0.0
  16. csharp_major_version: 2
  17. g_stands_for: gecko
  18. version: 1.35.0-dev
  19. targets:
  20. - name: check_epollexclusive
  21. build: tool
  22. language: c
  23. src:
  24. - test/build/check_epollexclusive.c
  25. deps:
  26. - grpc
  27. - gpr
  28. - name: gen_hpack_tables
  29. build: tool
  30. language: c++
  31. src:
  32. - tools/codegen/core/gen_hpack_tables.cc
  33. deps:
  34. - grpc
  35. - gpr
  36. uses_polling: false
  37. - name: gen_legal_metadata_characters
  38. build: tool
  39. language: c++
  40. src:
  41. - tools/codegen/core/gen_legal_metadata_characters.cc
  42. deps: []
  43. - name: gen_percent_encoding_tables
  44. build: tool
  45. language: c++
  46. src:
  47. - tools/codegen/core/gen_percent_encoding_tables.cc
  48. deps: []
  49. uses_polling: false
  50. vspackages:
  51. - linkage: static
  52. name: grpc.dependencies.zlib
  53. props: false
  54. redist: true
  55. version: 1.2.8.10
  56. - linkage: static
  57. name: grpc.dependencies.openssl
  58. props: true
  59. redist: true
  60. version: 1.0.204.1
  61. - name: gtest
  62. props: false
  63. redist: false
  64. version: 1.7.0.1
  65. configs:
  66. asan:
  67. CC: clang
  68. CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
  69. -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
  70. CXX: clang++
  71. LD: clang++
  72. LDFLAGS: -fsanitize=address
  73. LDXX: clang++
  74. compile_the_world: true
  75. test_environ:
  76. ASAN_OPTIONS: detect_leaks=1:color=always
  77. LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
  78. asan-noleaks:
  79. CC: clang
  80. CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
  81. -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
  82. CXX: clang++
  83. LD: clang++
  84. LDFLAGS: fsanitize=address
  85. LDXX: clang++
  86. compile_the_world: true
  87. test_environ:
  88. ASAN_OPTIONS: detect_leaks=0:color=always
  89. asan-trace-cmp:
  90. CC: clang
  91. CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize-coverage=trace-cmp
  92. -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument
  93. -DGPR_NO_DIRECT_SYSCALLS
  94. CXX: clang++
  95. LD: clang++
  96. LDFLAGS: -fsanitize=address
  97. LDXX: clang++
  98. compile_the_world: true
  99. test_environ:
  100. ASAN_OPTIONS: detect_leaks=1:color=always
  101. LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
  102. basicprof:
  103. CPPFLAGS: -O2 -DGRPC_BASIC_PROFILER -DGRPC_TIMERS_RDTSC
  104. DEFINES: NDEBUG
  105. c++-compat:
  106. CFLAGS: -Wc++-compat
  107. CPPFLAGS: -O0
  108. DEFINES: _DEBUG DEBUG
  109. counters:
  110. CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS
  111. DEFINES: NDEBUG
  112. counters_with_memory_counter:
  113. CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS -DGPR_WRAP_MEMORY_COUNTER
  114. DEFINES: NDEBUG
  115. LDFLAGS: -Wl,--wrap=malloc -Wl,--wrap=calloc -Wl,--wrap=realloc -Wl,--wrap=free
  116. dbg:
  117. CPPFLAGS: -O0
  118. DEFINES: _DEBUG DEBUG
  119. gcov:
  120. CC: gcc
  121. CPPFLAGS: -O0 -fprofile-arcs -ftest-coverage -Wno-return-type
  122. CXX: g++
  123. DEFINES: _DEBUG DEBUG GPR_GCOV
  124. LD: gcc
  125. LDFLAGS: -fprofile-arcs -ftest-coverage -rdynamic -lstdc++
  126. LDXX: g++
  127. helgrind:
  128. CPPFLAGS: -O0
  129. DEFINES: _DEBUG DEBUG
  130. LDFLAGS: -rdynamic
  131. valgrind: --tool=helgrind
  132. lto:
  133. CPPFLAGS: -O2
  134. DEFINES: NDEBUG
  135. memcheck:
  136. CPPFLAGS: -O0
  137. DEFINES: _DEBUG DEBUG
  138. LDFLAGS: -rdynamic
  139. valgrind: --tool=memcheck --leak-check=full
  140. msan:
  141. CC: clang
  142. CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=memory
  143. -fsanitize-memory-track-origins -fsanitize-memory-use-after-dtor -fno-omit-frame-pointer
  144. -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument
  145. -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS
  146. CXX: clang++
  147. DEFINES: NDEBUG
  148. LD: clang++
  149. LDFLAGS: -stdlib=libc++ -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1
  150. -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,)
  151. LDXX: clang++
  152. compile_the_world: true
  153. test_environ:
  154. MSAN_OPTIONS: poison_in_dtor=1
  155. mutrace:
  156. CPPFLAGS: -O3 -fno-omit-frame-pointer
  157. DEFINES: NDEBUG
  158. LDFLAGS: -rdynamic
  159. noexcept:
  160. CPPFLAGS: -O2 -Wframe-larger-than=16384
  161. CXXFLAGS: -fno-exceptions
  162. DEFINES: NDEBUG
  163. opt:
  164. CPPFLAGS: -O2 -Wframe-larger-than=16384
  165. DEFINES: NDEBUG
  166. stapprof:
  167. CPPFLAGS: -O2 -DGRPC_STAP_PROFILER
  168. DEFINES: NDEBUG
  169. tsan:
  170. CC: clang
  171. CPPFLAGS: -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument
  172. -DGPR_NO_DIRECT_SYSCALLS
  173. CXX: clang++
  174. DEFINES: GRPC_TSAN
  175. LD: clang++
  176. LDFLAGS: -fsanitize=thread
  177. LDXX: clang++
  178. compile_the_world: true
  179. test_environ:
  180. TSAN_OPTIONS: suppressions=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1
  181. ubsan:
  182. CC: clang
  183. CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=undefined
  184. -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs
  185. CXX: clang++
  186. DEFINES: NDEBUG GRPC_UBSAN
  187. LD: clang++
  188. LDFLAGS: -stdlib=libc++ -fsanitize=undefined,unsigned-integer-overflow
  189. LDXX: clang++
  190. compile_the_world: true
  191. test_environ:
  192. UBSAN_OPTIONS: halt_on_error=1:print_stacktrace=1:suppressions=test/core/util/ubsan_suppressions.txt
  193. defaults:
  194. abseil:
  195. CPPFLAGS: -g $(ABSL_RANDOM_HWAES_FLAGS) -Ithird_party/abseil-cpp
  196. ares:
  197. CFLAGS: -g
  198. CPPFLAGS: -Ithird_party/cares -Ithird_party/cares/cares -fvisibility=hidden -D_GNU_SOURCE
  199. $(if $(subst Darwin,,$(SYSTEM)),,-Ithird_party/cares/config_darwin) $(if $(subst
  200. FreeBSD,,$(SYSTEM)),,-Ithird_party/cares/config_freebsd) $(if $(subst Linux,,$(SYSTEM)),,-Ithird_party/cares/config_linux)
  201. $(if $(subst OpenBSD,,$(SYSTEM)),,-Ithird_party/cares/config_openbsd) -DWIN32_LEAN_AND_MEAN
  202. -D_HAS_EXCEPTIONS=0 -DNOMINMAX $(if $(subst MINGW32,,$(SYSTEM)),-DHAVE_CONFIG_H,)
  203. benchmark:
  204. CPPFLAGS: -Ithird_party/benchmark/include -DHAVE_POSIX_REGEX
  205. boringssl:
  206. CFLAGS: -g
  207. CPPFLAGS: -Ithird_party/boringssl-with-bazel/src/include -fvisibility=hidden -DOPENSSL_NO_ASM
  208. -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX
  209. CXXFLAGS: -fno-exceptions
  210. global:
  211. CFLAGS: -g
  212. COREFLAGS: -fno-exceptions
  213. CPPFLAGS: -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2
  214. -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated
  215. LDFLAGS: -g
  216. zlib:
  217. CFLAGS: -fvisibility=hidden
  218. php_config_m4:
  219. deps:
  220. - grpc
  221. - address_sorting
  222. - boringssl
  223. - re2
  224. - z
  225. headers:
  226. - src/php/ext/grpc/byte_buffer.h
  227. - src/php/ext/grpc/call.h
  228. - src/php/ext/grpc/call_credentials.h
  229. - src/php/ext/grpc/channel.h
  230. - src/php/ext/grpc/channel_credentials.h
  231. - src/php/ext/grpc/completion_queue.h
  232. - src/php/ext/grpc/php7_wrapper.h
  233. - src/php/ext/grpc/php_grpc.h
  234. - src/php/ext/grpc/server.h
  235. - src/php/ext/grpc/server_credentials.h
  236. - src/php/ext/grpc/timeval.h
  237. - src/php/ext/grpc/version.h
  238. src:
  239. - src/php/ext/grpc/byte_buffer.c
  240. - src/php/ext/grpc/call.c
  241. - src/php/ext/grpc/call_credentials.c
  242. - src/php/ext/grpc/channel.c
  243. - src/php/ext/grpc/channel_credentials.c
  244. - src/php/ext/grpc/completion_queue.c
  245. - src/php/ext/grpc/php_grpc.c
  246. - src/php/ext/grpc/server.c
  247. - src/php/ext/grpc/server_credentials.c
  248. - src/php/ext/grpc/timeval.c
  249. python_dependencies:
  250. deps:
  251. - grpc
  252. - address_sorting
  253. - ares
  254. - boringssl
  255. - re2
  256. - z
  257. ruby_gem:
  258. deps:
  259. - grpc
  260. - address_sorting
  261. - ares
  262. - boringssl
  263. - re2
  264. - z