1ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_benchmark_wrapper = \ 2ffe3c632Sopenharmony_ci benchmarks.proto 3ffe3c632Sopenharmony_ci 4ffe3c632Sopenharmony_cibenchmarks_protoc_inputs = \ 5ffe3c632Sopenharmony_ci datasets/google_message1/proto3/benchmark_message1_proto3.proto 6ffe3c632Sopenharmony_ci 7ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_proto2 = \ 8ffe3c632Sopenharmony_ci datasets/google_message1/proto2/benchmark_message1_proto2.proto \ 9ffe3c632Sopenharmony_ci datasets/google_message2/benchmark_message2.proto \ 10ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3.proto \ 11ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_1.proto \ 12ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_2.proto \ 13ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_3.proto \ 14ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_4.proto \ 15ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_5.proto \ 16ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_6.proto \ 17ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_7.proto \ 18ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_8.proto \ 19ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4.proto \ 20ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_1.proto \ 21ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_2.proto \ 22ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_3.proto 23ffe3c632Sopenharmony_ci 24ffe3c632Sopenharmony_cimake_tmp_dir: 25ffe3c632Sopenharmony_ci mkdir -p 'tmp/java/src/main/java' 26ffe3c632Sopenharmony_ci touch make_tmp_dir 27ffe3c632Sopenharmony_ci 28ffe3c632Sopenharmony_ci 29ffe3c632Sopenharmony_ci# We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is 30ffe3c632Sopenharmony_ci# relative to srcdir, which may not be the same as the current directory when 31ffe3c632Sopenharmony_ci# building out-of-tree. 32ffe3c632Sopenharmony_ciprotoc_middleman: make_tmp_dir $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs) $(well_known_type_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) 33ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_out=$$oldpwd/cpp --java_out=$$oldpwd/tmp/java/src/main/java --python_out=$$oldpwd/tmp $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) ) 34ffe3c632Sopenharmony_ci touch protoc_middleman 35ffe3c632Sopenharmony_ci 36ffe3c632Sopenharmony_ciprotoc_middleman2: make_tmp_dir $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs_proto2) $(well_known_type_protoc_inputs) 37ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_out=$$oldpwd/cpp --java_out=$$oldpwd/tmp/java/src/main/java --python_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_proto2) ) 38ffe3c632Sopenharmony_ci touch protoc_middleman2 39ffe3c632Sopenharmony_ci 40ffe3c632Sopenharmony_ciall_data = $$(find $$(cd $(srcdir) && pwd) -type f -name "dataset.*.pb" -not -path "$$(cd $(srcdir) && pwd)/tmp/*") 41ffe3c632Sopenharmony_ci 42ffe3c632Sopenharmony_ci############# CPP RULES ############## 43ffe3c632Sopenharmony_ci 44ffe3c632Sopenharmony_cibenchmarks_protoc_outputs = \ 45ffe3c632Sopenharmony_ci cpp/benchmarks.pb.cc \ 46ffe3c632Sopenharmony_ci cpp/datasets/google_message1/proto3/benchmark_message1_proto3.pb.cc 47ffe3c632Sopenharmony_ci 48ffe3c632Sopenharmony_cibenchmarks_protoc_outputs_header = \ 49ffe3c632Sopenharmony_ci cpp/benchmarks.pb.h \ 50ffe3c632Sopenharmony_ci cpp/datasets/google_message1/proto3/benchmark_message1_proto3.pb.h 51ffe3c632Sopenharmony_ci 52ffe3c632Sopenharmony_cibenchmarks_protoc_outputs_proto2_header = \ 53ffe3c632Sopenharmony_ci cpp/datasets/google_message1/proto2/benchmark_message1_proto2.pb.h \ 54ffe3c632Sopenharmony_ci cpp/datasets/google_message2/benchmark_message2.pb.h \ 55ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3.pb.h \ 56ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_1.pb.h \ 57ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_2.pb.h \ 58ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_3.pb.h \ 59ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_4.pb.h \ 60ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_5.pb.h \ 61ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_6.pb.h \ 62ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_7.pb.h \ 63ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_8.pb.h \ 64ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4.pb.h \ 65ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_1.pb.h \ 66ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_2.pb.h \ 67ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_3.pb.h 68ffe3c632Sopenharmony_ci 69ffe3c632Sopenharmony_cibenchmarks_protoc_outputs_proto2 = \ 70ffe3c632Sopenharmony_ci cpp/datasets/google_message1/proto2/benchmark_message1_proto2.pb.cc \ 71ffe3c632Sopenharmony_ci cpp/datasets/google_message2/benchmark_message2.pb.cc \ 72ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3.pb.cc \ 73ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_1.pb.cc \ 74ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_2.pb.cc \ 75ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_3.pb.cc \ 76ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_4.pb.cc \ 77ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_5.pb.cc \ 78ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_6.pb.cc \ 79ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_7.pb.cc \ 80ffe3c632Sopenharmony_ci cpp/datasets/google_message3/benchmark_message3_8.pb.cc \ 81ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4.pb.cc \ 82ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_1.pb.cc \ 83ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_2.pb.cc \ 84ffe3c632Sopenharmony_ci cpp/datasets/google_message4/benchmark_message4_3.pb.cc 85ffe3c632Sopenharmony_ci 86ffe3c632Sopenharmony_ci 87ffe3c632Sopenharmony_ci$(benchmarks_protoc_outputs): protoc_middleman 88ffe3c632Sopenharmony_ci$(benchmarks_protoc_outputs_header): protoc_middleman 89ffe3c632Sopenharmony_ci$(benchmarks_protoc_outputs_proto2): protoc_middleman2 90ffe3c632Sopenharmony_ci$(benchmarks_protoc_outputs_proto2_header): protoc_middleman2 91ffe3c632Sopenharmony_ci 92ffe3c632Sopenharmony_ciinitialize_submodule: 93ffe3c632Sopenharmony_ci oldpwd=`pwd` 94ffe3c632Sopenharmony_ci cd $(top_srcdir) && git submodule update --init -r third_party/benchmark && \ 95ffe3c632Sopenharmony_ci cd third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make 96ffe3c632Sopenharmony_ci cd $$oldpwd 97ffe3c632Sopenharmony_ci touch initialize_submodule 98ffe3c632Sopenharmony_ci 99ffe3c632Sopenharmony_ci$(top_srcdir)/third_party/benchmark/src/libbenchmark.a: initialize_submodule 100ffe3c632Sopenharmony_ci 101ffe3c632Sopenharmony_ciAM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 102ffe3c632Sopenharmony_ci 103ffe3c632Sopenharmony_cibin_PROGRAMS = cpp-benchmark 104ffe3c632Sopenharmony_ci 105ffe3c632Sopenharmony_cicpp_benchmark_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libbenchmark.a 106ffe3c632Sopenharmony_cicpp_benchmark_SOURCES = cpp/cpp_benchmark.cc 107ffe3c632Sopenharmony_cicpp_benchmark_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(top_srcdir)/third_party/benchmark/include 108ffe3c632Sopenharmony_ci# Explicit deps because BUILT_SOURCES are only done before a "make all/check" 109ffe3c632Sopenharmony_ci# so a direct "make test_cpp" could fail if parallel enough. 110ffe3c632Sopenharmony_ci# See: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Recording-Dependencies-manually 111ffe3c632Sopenharmony_cicpp/cpp_benchmark-cpp_benchmark.$(OBJEXT): $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2) $(benchmarks_protoc_outputs_header) $(benchmarks_protoc_outputs_proto2_header) $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libbenchmark.a 112ffe3c632Sopenharmony_cicpp/benchmark-cpp_benchmark.$(OBJEXT): $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2) $(benchmarks_protoc_outputs_header) $(benchmarks_protoc_outputs_proto2_header) $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libbenchmark.a 113ffe3c632Sopenharmony_cinodist_cpp_benchmark_SOURCES = \ 114ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs) \ 115ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2) \ 116ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2_header) \ 117ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_header) 118ffe3c632Sopenharmony_ci 119ffe3c632Sopenharmony_cicpp: protoc_middleman protoc_middleman2 cpp-benchmark initialize_submodule 120ffe3c632Sopenharmony_ci ./cpp-benchmark $(all_data) 121ffe3c632Sopenharmony_ci 122ffe3c632Sopenharmony_ci############ CPP RULES END ############ 123ffe3c632Sopenharmony_ci 124ffe3c632Sopenharmony_ci############# JAVA RULES ############## 125ffe3c632Sopenharmony_ci 126ffe3c632Sopenharmony_cijava_benchmark_testing_files = \ 127ffe3c632Sopenharmony_ci java/src/main/java/com/google/protobuf/ProtoCaliperBenchmark.java 128ffe3c632Sopenharmony_ci 129ffe3c632Sopenharmony_cijavac_middleman: $(java_benchmark_testing_files) protoc_middleman protoc_middleman2 130ffe3c632Sopenharmony_ci cp -r $(srcdir)/java tmp 131ffe3c632Sopenharmony_ci mkdir -p tmp/java/lib 132ffe3c632Sopenharmony_ci cp $(top_srcdir)/java/core/target/*.jar tmp/java/lib/protobuf-java.jar 133ffe3c632Sopenharmony_ci cd tmp/java && mvn clean compile assembly:single -Dprotobuf.version=$(PACKAGE_VERSION) && cd ../.. 134ffe3c632Sopenharmony_ci @touch javac_middleman 135ffe3c632Sopenharmony_ci 136ffe3c632Sopenharmony_cijava-benchmark: javac_middleman 137ffe3c632Sopenharmony_ci @echo "Writing shortcut script java-benchmark..." 138ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > java-benchmark 139ffe3c632Sopenharmony_ci @echo 'all_data=""' >> java-benchmark 140ffe3c632Sopenharmony_ci @echo 'conf=()' >> java-benchmark 141ffe3c632Sopenharmony_ci @echo 'data_files=""' >> java-benchmark 142ffe3c632Sopenharmony_ci @echo 'for arg in $$@; do if [[ $${arg:0:1} == "-" ]]; then conf+=($$arg); else data_files+="$$arg,"; fi; done' >> java-benchmark 143ffe3c632Sopenharmony_ci @echo 'java -cp '\"tmp/java/target/*:$(top_srcdir)/java/core/target/*:$(top_srcdir)/java/util/target/*\"" \\" >>java-benchmark 144ffe3c632Sopenharmony_ci @echo ' com.google.caliper.runner.CaliperMain com.google.protobuf.ProtoCaliperBenchmark -i runtime '"\\" >> java-benchmark 145ffe3c632Sopenharmony_ci @echo ' -b serializeToByteArray,serializeToMemoryStream,deserializeFromByteArray,deserializeFromMemoryStream '"\\" >> java-benchmark 146ffe3c632Sopenharmony_ci @echo ' -DdataFile=$${data_files:0:-1} $${conf[*]}' >> java-benchmark 147ffe3c632Sopenharmony_ci @chmod +x java-benchmark 148ffe3c632Sopenharmony_ci 149ffe3c632Sopenharmony_cijava: protoc_middleman protoc_middleman2 java-benchmark 150ffe3c632Sopenharmony_ci ./java-benchmark $(all_data) 151ffe3c632Sopenharmony_ci 152ffe3c632Sopenharmony_ci############# JAVA RULES END ############## 153ffe3c632Sopenharmony_ci 154ffe3c632Sopenharmony_ci 155ffe3c632Sopenharmony_ci############# PYTHON RULES ############## 156ffe3c632Sopenharmony_ci 157ffe3c632Sopenharmony_cipython_add_init: protoc_middleman protoc_middleman2 158ffe3c632Sopenharmony_ci all_file=`find tmp -type f -regex '.*\.py'` && \ 159ffe3c632Sopenharmony_ci for file in $${all_file[@]}; do \ 160ffe3c632Sopenharmony_ci path="$${file%/*}"; \ 161ffe3c632Sopenharmony_ci while true; do \ 162ffe3c632Sopenharmony_ci touch "$$path/__init__.py" && chmod +x "$$path/__init__.py"; \ 163ffe3c632Sopenharmony_ci if [[ $$path != *"/"* ]]; then break; fi; \ 164ffe3c632Sopenharmony_ci path=$${path%/*}; \ 165ffe3c632Sopenharmony_ci done \ 166ffe3c632Sopenharmony_ci done 167ffe3c632Sopenharmony_ci 168ffe3c632Sopenharmony_cipython_cpp_pkg_flags = `pkg-config --cflags --libs python` 169ffe3c632Sopenharmony_ci 170ffe3c632Sopenharmony_cilib_LTLIBRARIES = libbenchmark_messages.la 171ffe3c632Sopenharmony_cilibbenchmark_messages_la_SOURCES = python/python_benchmark_messages.cc 172ffe3c632Sopenharmony_cilibbenchmark_messages_la_LIBADD = $(top_srcdir)/src/.libs/libprotobuf.la 173ffe3c632Sopenharmony_cilibbenchmark_messages_la_LDFLAGS = -version-info 1:0:0 -export-dynamic 174ffe3c632Sopenharmony_cilibbenchmark_messages_la_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp $(python_cpp_pkg_flags) 175ffe3c632Sopenharmony_cilibbenchmark_messages_la-python_benchmark_messages.$(OBJEXT): $(benchmarks_protoc_outputs_header) $(benchmarks_protoc_outputs_proto2_header) $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2) 176ffe3c632Sopenharmony_cinodist_libbenchmark_messages_la_SOURCES = \ 177ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs) \ 178ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2) \ 179ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2_header) \ 180ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_header) 181ffe3c632Sopenharmony_ci 182ffe3c632Sopenharmony_cipython-pure-python-benchmark: python_add_init 183ffe3c632Sopenharmony_ci @echo "Writing shortcut script python-pure-python-benchmark..." 184ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > python-pure-python-benchmark 185ffe3c632Sopenharmony_ci @echo export LD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-pure-python-benchmark 186ffe3c632Sopenharmony_ci @echo export DYLD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-pure-python-benchmark 187ffe3c632Sopenharmony_ci @echo export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=\'python\' >> python-pure-python-benchmark 188ffe3c632Sopenharmony_ci @echo cp $(srcdir)/python/py_benchmark.py tmp >> python-pure-python-benchmark 189ffe3c632Sopenharmony_ci @echo python tmp/py_benchmark.py '$$@' >> python-pure-python-benchmark 190ffe3c632Sopenharmony_ci @chmod +x python-pure-python-benchmark 191ffe3c632Sopenharmony_ci 192ffe3c632Sopenharmony_cipython-cpp-reflection-benchmark: python_add_init 193ffe3c632Sopenharmony_ci @echo "Writing shortcut script python-cpp-reflection-benchmark..." 194ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > python-cpp-reflection-benchmark 195ffe3c632Sopenharmony_ci @echo export LD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-cpp-reflection-benchmark 196ffe3c632Sopenharmony_ci @echo export DYLD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-cpp-reflection-benchmark 197ffe3c632Sopenharmony_ci @echo export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=\'cpp\' >> python-cpp-reflection-benchmark 198ffe3c632Sopenharmony_ci @echo cp $(srcdir)/python/py_benchmark.py tmp >> python-cpp-reflection-benchmark 199ffe3c632Sopenharmony_ci @echo python tmp/py_benchmark.py '$$@' >> python-cpp-reflection-benchmark 200ffe3c632Sopenharmony_ci @chmod +x python-cpp-reflection-benchmark 201ffe3c632Sopenharmony_ci 202ffe3c632Sopenharmony_cipython-cpp-generated-code-benchmark: python_add_init libbenchmark_messages.la 203ffe3c632Sopenharmony_ci @echo "Writing shortcut script python-cpp-generated-code-benchmark..." 204ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > python-cpp-generated-code-benchmark 205ffe3c632Sopenharmony_ci @echo export LD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-cpp-generated-code-benchmark 206ffe3c632Sopenharmony_ci @echo export DYLD_LIBRARY_PATH=$(top_srcdir)/src/.libs >> python-cpp-generated-code-benchmark 207ffe3c632Sopenharmony_ci @echo export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=\'cpp\' >> python-cpp-generated-code-benchmark 208ffe3c632Sopenharmony_ci @echo cp $(srcdir)/python/py_benchmark.py tmp >> python-cpp-generated-code-benchmark 209ffe3c632Sopenharmony_ci @echo python tmp/py_benchmark.py --cpp_generated '$$@' >> python-cpp-generated-code-benchmark 210ffe3c632Sopenharmony_ci @chmod +x python-cpp-generated-code-benchmark 211ffe3c632Sopenharmony_ci 212ffe3c632Sopenharmony_cipython-pure-python: python-pure-python-benchmark 213ffe3c632Sopenharmony_ci ./python-pure-python-benchmark $(all_data) 214ffe3c632Sopenharmony_ci 215ffe3c632Sopenharmony_cipython-cpp-reflection: python-cpp-reflection-benchmark 216ffe3c632Sopenharmony_ci ./python-cpp-reflection-benchmark $(all_data) 217ffe3c632Sopenharmony_ci 218ffe3c632Sopenharmony_cipython-cpp-generated-code: python-cpp-generated-code-benchmark 219ffe3c632Sopenharmony_ci ./python-cpp-generated-code-benchmark $(all_data) 220ffe3c632Sopenharmony_ci 221ffe3c632Sopenharmony_ci############# PYTHON RULES END ############## 222ffe3c632Sopenharmony_ci 223ffe3c632Sopenharmony_ci############# GO RULES BEGIN ############## 224ffe3c632Sopenharmony_ci 225ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_proto2_message1 = \ 226ffe3c632Sopenharmony_ci datasets/google_message1/proto2/benchmark_message1_proto2.proto 227ffe3c632Sopenharmony_ci 228ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_proto2_message2 = \ 229ffe3c632Sopenharmony_ci datasets/google_message2/benchmark_message2.proto 230ffe3c632Sopenharmony_ci 231ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_proto2_message3 = \ 232ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3.proto \ 233ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_1.proto \ 234ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_2.proto \ 235ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_3.proto \ 236ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_4.proto \ 237ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_5.proto \ 238ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_6.proto \ 239ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_7.proto \ 240ffe3c632Sopenharmony_ci datasets/google_message3/benchmark_message3_8.proto 241ffe3c632Sopenharmony_ci 242ffe3c632Sopenharmony_cibenchmarks_protoc_inputs_proto2_message4 = \ 243ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4.proto \ 244ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_1.proto \ 245ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_2.proto \ 246ffe3c632Sopenharmony_ci datasets/google_message4/benchmark_message4_3.proto 247ffe3c632Sopenharmony_ci 248ffe3c632Sopenharmony_cigo_protoc_middleman: make_tmp_dir $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs) $(well_known_type_protoc_inputs) $(benchmarks_protoc_inputs_proto2_message1) $(benchmarks_protoc_inputs_proto2_message2) $(benchmarks_protoc_inputs_proto2_message3) $(benchmarks_protoc_inputs_proto2_message4) $(well_known_type_protoc_inputs) 249ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs) ) 250ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_benchmark_wrapper) ) 251ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_proto2_message1) ) 252ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_proto2_message2) ) 253ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_proto2_message3) ) 254ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out=$$oldpwd/tmp $(benchmarks_protoc_inputs_proto2_message4) ) 255ffe3c632Sopenharmony_ci touch go_protoc_middleman 256ffe3c632Sopenharmony_ci 257ffe3c632Sopenharmony_cigo-benchmark: go_protoc_middleman 258ffe3c632Sopenharmony_ci @echo "Writing shortcut script go-benchmark..." 259ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > go-benchmark 260ffe3c632Sopenharmony_ci @echo 'cd $(srcdir)/go' >> go-benchmark 261ffe3c632Sopenharmony_ci @echo 'all_data=""' >> go-benchmark 262ffe3c632Sopenharmony_ci @echo 'conf=()' >> go-benchmark 263ffe3c632Sopenharmony_ci @echo 'data_files=()' >> go-benchmark 264ffe3c632Sopenharmony_ci @echo 'for arg in $$@; do if [[ $${arg:0:1} == "-" ]]; then conf+=($$arg); else data_files+=("$$arg"); fi; done' >> go-benchmark 265ffe3c632Sopenharmony_ci @echo 'go test -bench=. $${conf[*]} -- $${data_files[*]}' >> go-benchmark 266ffe3c632Sopenharmony_ci @echo 'cd ..' >> go-benchmark 267ffe3c632Sopenharmony_ci @chmod +x go-benchmark 268ffe3c632Sopenharmony_ci 269ffe3c632Sopenharmony_cigo: go_protoc_middleman go-benchmark 270ffe3c632Sopenharmony_ci ./go-benchmark $(all_data) 271ffe3c632Sopenharmony_ci 272ffe3c632Sopenharmony_ci############# GO RULES END ############## 273ffe3c632Sopenharmony_ci 274ffe3c632Sopenharmony_ci############# GOGO RULES BEGIN ############ 275ffe3c632Sopenharmony_ci 276ffe3c632Sopenharmony_cicpp_no_group_benchmarks_protoc_outputs_header = \ 277ffe3c632Sopenharmony_ci gogo/cpp_no_group/benchmarks.pb.h \ 278ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message1/proto3/benchmark_message1_proto3.pb.h 279ffe3c632Sopenharmony_ci 280ffe3c632Sopenharmony_cicpp_no_group_benchmarks_protoc_outputs = \ 281ffe3c632Sopenharmony_ci gogo/cpp_no_group/benchmarks.pb.cc \ 282ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message1/proto3/benchmark_message1_proto3.pb.cc 283ffe3c632Sopenharmony_ci 284ffe3c632Sopenharmony_cicpp_no_group_benchmarks_protoc_outputs_proto2_header = \ 285ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message1/proto2/benchmark_message1_proto2.pb.h \ 286ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message2/benchmark_message2.pb.h \ 287ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3.pb.h \ 288ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_1.pb.h \ 289ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_2.pb.h \ 290ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_3.pb.h \ 291ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_4.pb.h \ 292ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_5.pb.h \ 293ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_6.pb.h \ 294ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_7.pb.h \ 295ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_8.pb.h \ 296ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4.pb.h \ 297ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_1.pb.h \ 298ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_2.pb.h \ 299ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_3.pb.h 300ffe3c632Sopenharmony_ci 301ffe3c632Sopenharmony_cicpp_no_group_benchmarks_protoc_outputs_proto2 = \ 302ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message1/proto2/benchmark_message1_proto2.pb.cc \ 303ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message2/benchmark_message2.pb.cc \ 304ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3.pb.cc \ 305ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_1.pb.cc \ 306ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_2.pb.cc \ 307ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_3.pb.cc \ 308ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_4.pb.cc \ 309ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_5.pb.cc \ 310ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_6.pb.cc \ 311ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_7.pb.cc \ 312ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message3/benchmark_message3_8.pb.cc \ 313ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4.pb.cc \ 314ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_1.pb.cc \ 315ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_2.pb.cc \ 316ffe3c632Sopenharmony_ci gogo/cpp_no_group/datasets/google_message4/benchmark_message4_3.pb.cc 317ffe3c632Sopenharmony_ci 318ffe3c632Sopenharmony_ci$(cpp_no_group_benchmarks_protoc_outputs): cpp_no_group_protoc_middleman 319ffe3c632Sopenharmony_ci$(cpp_no_group_benchmarks_protoc_outputs_header): cpp_no_group_protoc_middleman 320ffe3c632Sopenharmony_ci$(cpp_no_group_benchmarks_protoc_outputs_proto2): cpp_no_group_protoc_middleman 321ffe3c632Sopenharmony_ci$(cpp_no_group_benchmarks_protoc_outputs_proto2_header): cpp_no_group_protoc_middleman 322ffe3c632Sopenharmony_ci 323ffe3c632Sopenharmony_cigenerate_cpp_no_group_benchmark_code: 324ffe3c632Sopenharmony_ci cp $(srcdir)/cpp/cpp_benchmark.cc gogo/cpp_no_group/cpp_benchmark.cc 325ffe3c632Sopenharmony_ci sed -i -e "s/\#include \"datasets/\#include \"gogo\/cpp_no_group\/datasets/g" gogo/cpp_no_group/cpp_benchmark.cc 326ffe3c632Sopenharmony_ci sed -i -e "s/\#include \"benchmarks.pb.h/\#include \"gogo\/cpp_no_group\/benchmarks.pb.h/g" gogo/cpp_no_group/cpp_benchmark.cc 327ffe3c632Sopenharmony_ci touch generate_cpp_no_group_benchmark_code 328ffe3c632Sopenharmony_ci 329ffe3c632Sopenharmony_cibin_PROGRAMS += cpp-no-group-benchmark 330ffe3c632Sopenharmony_cicpp_no_group_benchmark_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libbenchmark.a 331ffe3c632Sopenharmony_cicpp_no_group_benchmark_SOURCES = gogo/cpp_no_group/cpp_benchmark.cc 332ffe3c632Sopenharmony_cicpp_no_group_benchmark_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/gogo/cpp_no_group -I$(top_srcdir)/third_party/benchmark/include 333ffe3c632Sopenharmony_ci# Explicit deps because BUILT_SOURCES are only done before a "make all/check" 334ffe3c632Sopenharmony_ci# so a direct "make test_cpp" could fail if parallel enough. 335ffe3c632Sopenharmony_ci# See: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Recording-Dependencies-manually 336ffe3c632Sopenharmony_cigogo/cpp_no_group/cpp_no_group_benchmark-cpp_benchmark.$(OBJEXT): $(cpp_no_group_benchmarks_protoc_outputs) $(cpp_no_group_benchmarks_protoc_outputs_proto2) $(cpp_no_group_benchmarks_protoc_outputs_header) \ 337ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_proto2_header) $(top_srcdir)/third_party/benchmark/src/libbenchmark.a generate_cpp_no_group_benchmark_code 338ffe3c632Sopenharmony_cigogo/cpp_no_group/cpp_benchmark.cc: generate_cpp_no_group_benchmark_code 339ffe3c632Sopenharmony_cinodist_cpp_no_group_benchmark_SOURCES = \ 340ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_proto2) \ 341ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs) \ 342ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_header) \ 343ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_proto2_header) 344ffe3c632Sopenharmony_ci 345ffe3c632Sopenharmony_cicpp_no_group: cpp_no_group_protoc_middleman generate_gogo_data cpp-no-group-benchmark 346ffe3c632Sopenharmony_ci ./cpp-no-group-benchmark $(gogo_data) 347ffe3c632Sopenharmony_ci 348ffe3c632Sopenharmony_cigogo_proto_middleman: protoc-gen-gogoproto 349ffe3c632Sopenharmony_ci mkdir -p "tmp/gogo_proto" 350ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I$(srcdir) -I$(top_srcdir) --plugin=protoc-gen-gogoproto --gogoproto_out=$$oldpwd/tmp/gogo_proto $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) $(benchmarks_protoc_inputs_proto2) ) 351ffe3c632Sopenharmony_ci touch gogo_proto_middleman 352ffe3c632Sopenharmony_ci 353ffe3c632Sopenharmony_cigogo_data = $$(for data in $(all_data); do echo "tmp/gogo_data$${data\#$(srcdir)}"; done | xargs) 354ffe3c632Sopenharmony_ci 355ffe3c632Sopenharmony_cigenerate_gogo_data: protoc_middleman protoc_middleman2 gogo-data-scrubber 356ffe3c632Sopenharmony_ci mkdir -p `dirname $(gogo_data)` 357ffe3c632Sopenharmony_ci ./gogo-data-scrubber $(all_data) $(gogo_data) 358ffe3c632Sopenharmony_ci touch generate_gogo_data 359ffe3c632Sopenharmony_ci 360ffe3c632Sopenharmony_cimake_tmp_dir_gogo: 361ffe3c632Sopenharmony_ci mkdir -p tmp/go_no_group/benchmark_code 362ffe3c632Sopenharmony_ci mkdir -p tmp/gogofast/benchmark_code 363ffe3c632Sopenharmony_ci mkdir -p tmp/gogofaster/benchmark_code 364ffe3c632Sopenharmony_ci mkdir -p tmp/gogoslick/benchmark_code 365ffe3c632Sopenharmony_ci touch make_tmp_dir_gogo 366ffe3c632Sopenharmony_ci 367ffe3c632Sopenharmony_cigo_no_group_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middleman $(well_known_type_protoc_inputs) 368ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs) ) 369ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs_benchmark_wrapper) ) 370ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs_proto2_message1) ) 371ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs_proto2_message2) ) 372ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs_proto2_message3) ) 373ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --go_out=$$oldpwd/tmp/go_no_group $(benchmarks_protoc_inputs_proto2_message4) ) 374ffe3c632Sopenharmony_ci touch go_no_group_protoc_middleman 375ffe3c632Sopenharmony_ci 376ffe3c632Sopenharmony_cicpp_no_group_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middleman $(well_known_type_protoc_inputs) 377ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs) ) 378ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs_benchmark_wrapper) ) 379ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs_proto2_message1) ) 380ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs_proto2_message2) ) 381ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs_proto2_message3) ) 382ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --cpp_out=$$oldpwd/gogo/cpp_no_group $(benchmarks_protoc_inputs_proto2_message4) ) 383ffe3c632Sopenharmony_ci touch cpp_no_group_protoc_middleman 384ffe3c632Sopenharmony_ci 385ffe3c632Sopenharmony_cigogofast_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middleman $(well_known_type_protoc_inputs) 386ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs) ) 387ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs_benchmark_wrapper) ) 388ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs_proto2_message1) ) 389ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs_proto2_message2) ) 390ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs_proto2_message3) ) 391ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofast_out=$$oldpwd/tmp/gogofast $(benchmarks_protoc_inputs_proto2_message4) ) 392ffe3c632Sopenharmony_ci touch gogofast_protoc_middleman 393ffe3c632Sopenharmony_ci 394ffe3c632Sopenharmony_cigogofaster_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middleman $(well_known_type_protoc_inputs) 395ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs) ) 396ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs_benchmark_wrapper) ) 397ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs_proto2_message1) ) 398ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs_proto2_message2) ) 399ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs_proto2_message3) ) 400ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogofaster_out=$$oldpwd/tmp/gogofaster $(benchmarks_protoc_inputs_proto2_message4) ) 401ffe3c632Sopenharmony_ci touch gogofaster_protoc_middleman 402ffe3c632Sopenharmony_ci 403ffe3c632Sopenharmony_cigogoslick_protoc_middleman: make_tmp_dir_gogo $(top_srcdir)/src/protoc$(EXEEXT) gogo_proto_middleman $(well_known_type_protoc_inputs) 404ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs) ) 405ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs_benchmark_wrapper) ) 406ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs_proto2_message1) ) 407ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs_proto2_message2) ) 408ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs_proto2_message3) ) 409ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir)/tmp/gogo_proto && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$$oldpwd/$(top_srcdir)/src --gogoslick_out=$$oldpwd/tmp/gogoslick $(benchmarks_protoc_inputs_proto2_message4) ) 410ffe3c632Sopenharmony_ci touch gogoslick_protoc_middleman 411ffe3c632Sopenharmony_ci 412ffe3c632Sopenharmony_cigenerate-gogo-benchmark-code: 413ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > generate-gogo-benchmark-code 414ffe3c632Sopenharmony_ci @echo 'cp $(srcdir)/go/go_benchmark_test.go tmp/$$1/benchmark_code/$$1_benchmark1_test.go' >> generate-gogo-benchmark-code 415ffe3c632Sopenharmony_ci @echo 'sed -i -e "s/\.\.\/tmp/../g" tmp/$$1/benchmark_code/$$1_benchmark1_test.go' >> generate-gogo-benchmark-code 416ffe3c632Sopenharmony_ci @echo 'sed -i -e "s/b\.Run(\"\(.*\)\"/b.Run(\"\1\_$$1\"/g" tmp/$$1/benchmark_code/$$1_benchmark1_test.go' >> generate-gogo-benchmark-code 417ffe3c632Sopenharmony_ci @echo 'if [[ $$2 == 1 ]]; then sed -i -e "s/github\.com\/golang/github.com\/gogo/g" tmp/$$1/benchmark_code/$$1_benchmark1_test.go; fi ' >> generate-gogo-benchmark-code 418ffe3c632Sopenharmony_ci @chmod +x generate-gogo-benchmark-code 419ffe3c632Sopenharmony_ci 420ffe3c632Sopenharmony_cigenerate_all_gogo_benchmark_code: generate-gogo-benchmark-code make_tmp_dir_gogo 421ffe3c632Sopenharmony_ci ./generate-gogo-benchmark-code go_no_group 0 422ffe3c632Sopenharmony_ci ./generate-gogo-benchmark-code gogofast 1 423ffe3c632Sopenharmony_ci ./generate-gogo-benchmark-code gogofaster 1 424ffe3c632Sopenharmony_ci ./generate-gogo-benchmark-code gogoslick 1 425ffe3c632Sopenharmony_ci 426ffe3c632Sopenharmony_cigogo-benchmark: 427ffe3c632Sopenharmony_ci @echo "Writing shortcut script gogo-benchmark..." 428ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > gogo-benchmark 429ffe3c632Sopenharmony_ci @echo 'cd tmp/$$1/benchmark_code' >> gogo-benchmark 430ffe3c632Sopenharmony_ci @echo 'shift' >> gogo-benchmark 431ffe3c632Sopenharmony_ci @echo 'all_data=""' >> gogo-benchmark 432ffe3c632Sopenharmony_ci @echo 'for data_file in $$@; do all_data="$$all_data ../../../$$data_file"; done' >> gogo-benchmark 433ffe3c632Sopenharmony_ci @echo 'go test -bench=. -- $$all_data' >> gogo-benchmark 434ffe3c632Sopenharmony_ci @echo 'cd ../..' >> gogo-benchmark 435ffe3c632Sopenharmony_ci @chmod +x gogo-benchmark 436ffe3c632Sopenharmony_ci 437ffe3c632Sopenharmony_cigo_no_group: go_no_group_protoc_middleman generate_gogo_data generate_all_gogo_benchmark_code gogo-benchmark 438ffe3c632Sopenharmony_ci ./gogo-benchmark go_no_group $(gogo_data) 439ffe3c632Sopenharmony_ci 440ffe3c632Sopenharmony_cigogofast: gogofast_protoc_middleman generate_gogo_data gogo-benchmark generate_all_gogo_benchmark_code 441ffe3c632Sopenharmony_ci ./gogo-benchmark gogofast $(gogo_data) 442ffe3c632Sopenharmony_ci 443ffe3c632Sopenharmony_cigogofaster: gogofaster_protoc_middleman generate_gogo_data gogo-benchmark generate_all_gogo_benchmark_code 444ffe3c632Sopenharmony_ci ./gogo-benchmark gogofaster $(gogo_data) 445ffe3c632Sopenharmony_ci 446ffe3c632Sopenharmony_cigogoslick: gogoslick_protoc_middleman generate_gogo_data gogo-benchmark generate_all_gogo_benchmark_code 447ffe3c632Sopenharmony_ci ./gogo-benchmark gogoslick $(gogo_data) 448ffe3c632Sopenharmony_ci 449ffe3c632Sopenharmony_ci 450ffe3c632Sopenharmony_ci############# GOGO RULES END ############ 451ffe3c632Sopenharmony_ci 452ffe3c632Sopenharmony_ci 453ffe3c632Sopenharmony_ci############ UTIL RULES BEGIN ############ 454ffe3c632Sopenharmony_ci 455ffe3c632Sopenharmony_cibin_PROGRAMS += protoc-gen-gogoproto gogo-data-scrubber protoc-gen-proto2_to_proto3 proto3-data-stripper 456ffe3c632Sopenharmony_ci 457ffe3c632Sopenharmony_ciprotoc_gen_gogoproto_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/src/libprotoc.la 458ffe3c632Sopenharmony_ciprotoc_gen_gogoproto_SOURCES = util/protoc-gen-gogoproto.cc 459ffe3c632Sopenharmony_ciprotoc_gen_gogoproto_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(srcdir)/util 460ffe3c632Sopenharmony_ci 461ffe3c632Sopenharmony_cigogo_data_scrubber_LDADD = $(top_srcdir)/src/libprotobuf.la 462ffe3c632Sopenharmony_cigogo_data_scrubber_SOURCES = util/gogo_data_scrubber.cc 463ffe3c632Sopenharmony_cigogo_data_scrubber_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(srcdir)/util 464ffe3c632Sopenharmony_ciutil/gogo_data_scrubber-gogo_data_scrubber.$(OBJEXT): $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2) $(benchmarks_protoc_outputs_header) $(benchmarks_protoc_outputs_proto2_header) 465ffe3c632Sopenharmony_cinodist_gogo_data_scrubber_SOURCES = \ 466ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs) \ 467ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2) \ 468ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2_header) \ 469ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_header) 470ffe3c632Sopenharmony_ci 471ffe3c632Sopenharmony_ciprotoc_gen_proto2_to_proto3_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/src/libprotoc.la 472ffe3c632Sopenharmony_ciprotoc_gen_proto2_to_proto3_SOURCES = util/protoc-gen-proto2_to_proto3.cc 473ffe3c632Sopenharmony_ciprotoc_gen_proto2_to_proto3_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(srcdir)/util 474ffe3c632Sopenharmony_ci 475ffe3c632Sopenharmony_ciproto3_data_stripper_LDADD = $(top_srcdir)/src/libprotobuf.la 476ffe3c632Sopenharmony_ciproto3_data_stripper_SOURCES = util/proto3_data_stripper.cc 477ffe3c632Sopenharmony_ciproto3_data_stripper_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(srcdir)/util 478ffe3c632Sopenharmony_ciutil/proto3_data_stripper-proto3_data_stripper.$(OBJEXT): $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2) $(benchmarks_protoc_outputs_header) $(benchmarks_protoc_outputs_proto2_header) 479ffe3c632Sopenharmony_cinodist_proto3_data_stripper_SOURCES = \ 480ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs) \ 481ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2) \ 482ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2_header) \ 483ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_header) 484ffe3c632Sopenharmony_ci 485ffe3c632Sopenharmony_ci 486ffe3c632Sopenharmony_ci############ UTIL RULES END ############ 487ffe3c632Sopenharmony_ci 488ffe3c632Sopenharmony_ci############ PROTO3 PREPARATION BEGIN ############# 489ffe3c632Sopenharmony_ci 490ffe3c632Sopenharmony_ciproto3_proto_middleman: protoc-gen-proto2_to_proto3 491ffe3c632Sopenharmony_ci mkdir -p "tmp/proto3_proto" 492ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I$(srcdir) -I$(top_srcdir) --plugin=protoc-gen-proto2_to_proto3 --proto2_to_proto3_out=$$oldpwd/tmp/proto3_proto $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) $(benchmarks_protoc_inputs_proto2) ) 493ffe3c632Sopenharmony_ci touch proto3_proto_middleman 494ffe3c632Sopenharmony_ci 495ffe3c632Sopenharmony_cifull_srcdir = $$(cd $(srcdir) && pwd) 496ffe3c632Sopenharmony_ciproto3_data = $$(for data in $(all_data); do echo $(full_srcdir)"/tmp/proto3_data$${data\#$(full_srcdir)}"; done | xargs) 497ffe3c632Sopenharmony_ci 498ffe3c632Sopenharmony_cigenerate_proto3_data: protoc_middleman protoc_middleman2 proto3-data-stripper 499ffe3c632Sopenharmony_ci mkdir -p `dirname $(proto3_data)` 500ffe3c632Sopenharmony_ci ./proto3-data-stripper $(all_data) $(proto3_data) 501ffe3c632Sopenharmony_ci touch generate_proto3_data 502ffe3c632Sopenharmony_ci 503ffe3c632Sopenharmony_ci############ PROTO3 PREPARATION END ############# 504ffe3c632Sopenharmony_ci 505ffe3c632Sopenharmony_ci############ PHP RULES BEGIN ################# 506ffe3c632Sopenharmony_ci 507ffe3c632Sopenharmony_ciproto3_middleman_php: proto3_proto_middleman 508ffe3c632Sopenharmony_ci mkdir -p "tmp/php" 509ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd tmp/proto3_proto && $$oldpwd/../src/protoc$(EXEEXT) -I$(srcdir) -I$(top_srcdir) --php_out=$$oldpwd/tmp/php $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) $(benchmarks_protoc_inputs_proto2) ) 510ffe3c632Sopenharmony_ci touch proto3_middleman_php 511ffe3c632Sopenharmony_ci 512ffe3c632Sopenharmony_ciphp-benchmark: proto3_middleman_php generate_proto3_data 513ffe3c632Sopenharmony_ci mkdir -p "tmp/php/Google/Protobuf/Benchmark" && cp php/PhpBenchmark.php "tmp/php/Google/Protobuf/Benchmark" 514ffe3c632Sopenharmony_ci cp php/autoload.php "tmp/php" 515ffe3c632Sopenharmony_ci @echo "Writing shortcut script php-benchmark..." 516ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > php-benchmark 517ffe3c632Sopenharmony_ci @echo 'export PROTOBUF_PHP_SRCDIR="$$(cd $(top_srcdir) && pwd)/php/src"' >> php-benchmark 518ffe3c632Sopenharmony_ci @echo 'cd tmp/php' >> php-benchmark 519ffe3c632Sopenharmony_ci @echo 'export CURRENT_DIR=$$(pwd)' >> php-benchmark 520ffe3c632Sopenharmony_ci @echo 'php -d auto_prepend_file="autoload.php" -d include_path="$$(pwd)" Google/Protobuf/Benchmark/PhpBenchmark.php $$@' >> php-benchmark 521ffe3c632Sopenharmony_ci @echo 'cd ../..' >> php-benchmark 522ffe3c632Sopenharmony_ci @chmod +x php-benchmark 523ffe3c632Sopenharmony_ci 524ffe3c632Sopenharmony_ciphp: php-benchmark proto3_middleman_php 525ffe3c632Sopenharmony_ci ./php-benchmark --behavior_prefix="php" $(proto3_data) 526ffe3c632Sopenharmony_ci 527ffe3c632Sopenharmony_ciphp_c_extension: 528ffe3c632Sopenharmony_ci cd $(top_srcdir)/php/ext/google/protobuf && phpize && ./configure CFLAGS='-O3' && make -j8 529ffe3c632Sopenharmony_ci 530ffe3c632Sopenharmony_ciphp-c-benchmark: proto3_middleman_php generate_proto3_data php_c_extension php_c_extension 531ffe3c632Sopenharmony_ci mkdir -p "tmp/php/Google/Protobuf/Benchmark" && cp php/PhpBenchmark.php "tmp/php/Google/Protobuf/Benchmark" 532ffe3c632Sopenharmony_ci cp php/autoload.php "tmp/php" 533ffe3c632Sopenharmony_ci @echo "Writing shortcut script php-c-benchmark..." 534ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > php-c-benchmark 535ffe3c632Sopenharmony_ci @echo 'export PROTOBUF_PHP_SRCDIR="$$(cd $(top_srcdir) && pwd)/php/src"' >> php-c-benchmark 536ffe3c632Sopenharmony_ci @echo 'export PROTOBUF_PHP_EXTDIR="$$PROTOBUF_PHP_SRCDIR/../ext/google/protobuf/modules"' >> php-c-benchmark 537ffe3c632Sopenharmony_ci @echo 'cd tmp/php' >> php-c-benchmark 538ffe3c632Sopenharmony_ci @echo 'export CURRENT_DIR=$$(pwd)' >> php-c-benchmark 539ffe3c632Sopenharmony_ci @echo 'php -d auto_prepend_file="autoload.php" -d include_path="$$(pwd)" -d extension="$$PROTOBUF_PHP_EXTDIR/protobuf.so" Google/Protobuf/Benchmark/PhpBenchmark.php $$@' >> php-c-benchmark 540ffe3c632Sopenharmony_ci @echo 'cd ../..' >> php-c-benchmark 541ffe3c632Sopenharmony_ci @chmod +x php-c-benchmark 542ffe3c632Sopenharmony_ci 543ffe3c632Sopenharmony_ciphp_c: php-c-benchmark proto3_middleman_php 544ffe3c632Sopenharmony_ci ./php-c-benchmark --behavior_prefix="php_c" $(proto3_data) 545ffe3c632Sopenharmony_ci 546ffe3c632Sopenharmony_ci 547ffe3c632Sopenharmony_ci############ PHP RULES END ################# 548ffe3c632Sopenharmony_ci 549ffe3c632Sopenharmony_ci############ protobuf.js RULE BEGIN ############# 550ffe3c632Sopenharmony_ci 551ffe3c632Sopenharmony_cipbjs_preparation: 552ffe3c632Sopenharmony_ci mkdir -p tmp/protobuf.js 553ffe3c632Sopenharmony_ci cd tmp/protobuf.js && git clone https://github.com/dcodeIO/protobuf.js.git && \ 554ffe3c632Sopenharmony_ci cd protobuf.js && npm install && npm run build 555ffe3c632Sopenharmony_ci cd tmp/protobuf.js && npm install benchmark 556ffe3c632Sopenharmony_ci cp protobuf.js/* tmp/protobuf.js 557ffe3c632Sopenharmony_ci cp js/benchmark_suite.js tmp/protobuf.js 558ffe3c632Sopenharmony_ci touch pbjs_preparation 559ffe3c632Sopenharmony_ci 560ffe3c632Sopenharmony_cipbjs_middleman: pbjs_preparation 561ffe3c632Sopenharmony_ci export OLDDIR=$$(pwd) && cd tmp/protobuf.js && node generate_pbjs_files.js --target static-module --include_path=$$OLDDIR -o generated_bundle_code.js $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) $(benchmarks_protoc_inputs_proto2) 562ffe3c632Sopenharmony_ci touch pbjs_middleman 563ffe3c632Sopenharmony_ci 564ffe3c632Sopenharmony_cipbjs-benchmark: pbjs_middleman 565ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > pbjs-benchmark 566ffe3c632Sopenharmony_ci @echo 'cd tmp/protobuf.js' >> pbjs-benchmark 567ffe3c632Sopenharmony_ci @echo 'sed -i "s/protobufjs/.\/protobuf.js/g" generated_bundle_code.js' >> pbjs-benchmark 568ffe3c632Sopenharmony_ci @echo 'env NODE_PATH=".:./node_modules:$$NODE_PATH" node protobufjs_benchmark.js $$@' >> pbjs-benchmark 569ffe3c632Sopenharmony_ci @chmod +x pbjs-benchmark 570ffe3c632Sopenharmony_ci 571ffe3c632Sopenharmony_cipbjs: pbjs-benchmark 572ffe3c632Sopenharmony_ci ./pbjs-benchmark $(all_data) 573ffe3c632Sopenharmony_ci 574ffe3c632Sopenharmony_ci############ protobuf.js RULE END ############# 575ffe3c632Sopenharmony_ci 576ffe3c632Sopenharmony_ci############ JS RULE BEGIN ############# 577ffe3c632Sopenharmony_ci 578ffe3c632Sopenharmony_cijs_preparation: 579ffe3c632Sopenharmony_ci mkdir -p tmp/js 580ffe3c632Sopenharmony_ci oldpwd=$$(pwd) && cd $(top_srcdir)/js && npm install && npm test 581ffe3c632Sopenharmony_ci cd tmp/js && npm install benchmark 582ffe3c632Sopenharmony_ci cp js/* tmp/js 583ffe3c632Sopenharmony_ci touch js_preparation 584ffe3c632Sopenharmony_ci 585ffe3c632Sopenharmony_cijs_middleman: js_preparation 586ffe3c632Sopenharmony_ci oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --js_out=import_style=commonjs,binary:$$oldpwd/tmp/js $(benchmarks_protoc_inputs) $(benchmarks_protoc_inputs_benchmark_wrapper) $(benchmarks_protoc_inputs_proto2)) 587ffe3c632Sopenharmony_ci touch js_middleman 588ffe3c632Sopenharmony_ci 589ffe3c632Sopenharmony_cijs-benchmark: js_middleman 590ffe3c632Sopenharmony_ci @echo '#! /bin/bash' > js-benchmark 591ffe3c632Sopenharmony_ci @echo 'export TOP_JS_SRCDIR=$$(cd $(top_srcdir)/js && pwd)' >> js-benchmark 592ffe3c632Sopenharmony_ci @echo 'cd tmp/js' >> js-benchmark 593ffe3c632Sopenharmony_ci @echo 'env NODE_PATH="$$TOP_JS_SRCDIR:.:./node_modules:$$NODE_PATH" node --max-old-space-size=4096 js_benchmark.js $$@' >> js-benchmark 594ffe3c632Sopenharmony_ci @chmod +x js-benchmark 595ffe3c632Sopenharmony_ci 596ffe3c632Sopenharmony_cijs: js-benchmark 597ffe3c632Sopenharmony_ci ./js-benchmark $(all_data) 598ffe3c632Sopenharmony_ci 599ffe3c632Sopenharmony_ci############ JS RULE END ############# 600ffe3c632Sopenharmony_ci 601ffe3c632Sopenharmony_ciEXTRA_DIST = \ 602ffe3c632Sopenharmony_ci $(benchmarks_protoc_inputs_benchmark_wrapper) \ 603ffe3c632Sopenharmony_ci $(benchmarks_protoc_inputs) \ 604ffe3c632Sopenharmony_ci $(benchmarks_protoc_inputs_proto2) \ 605ffe3c632Sopenharmony_ci google_size.proto 606ffe3c632Sopenharmony_ci 607ffe3c632Sopenharmony_ciMAINTAINERCLEANFILES = \ 608ffe3c632Sopenharmony_ci Makefile.in 609ffe3c632Sopenharmony_ci 610ffe3c632Sopenharmony_ciCLEANFILES = \ 611ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs) \ 612ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_header) \ 613ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2) \ 614ffe3c632Sopenharmony_ci $(benchmarks_protoc_outputs_proto2_header) \ 615ffe3c632Sopenharmony_ci initialize_submodule \ 616ffe3c632Sopenharmony_ci make_tmp_dir \ 617ffe3c632Sopenharmony_ci protoc_middleman \ 618ffe3c632Sopenharmony_ci protoc_middleman2 \ 619ffe3c632Sopenharmony_ci javac_middleman \ 620ffe3c632Sopenharmony_ci java-benchmark \ 621ffe3c632Sopenharmony_ci python_cpp_proto_library \ 622ffe3c632Sopenharmony_ci python-pure-python-benchmark \ 623ffe3c632Sopenharmony_ci python-cpp-reflection-benchmark \ 624ffe3c632Sopenharmony_ci python-cpp-generated-code-benchmark \ 625ffe3c632Sopenharmony_ci go-benchmark \ 626ffe3c632Sopenharmony_ci go_protoc_middleman \ 627ffe3c632Sopenharmony_ci make_tmp_dir_gogo \ 628ffe3c632Sopenharmony_ci gogo_proto_middleman \ 629ffe3c632Sopenharmony_ci generate_gogo_data \ 630ffe3c632Sopenharmony_ci go_no_group_protoc_middleman \ 631ffe3c632Sopenharmony_ci go_no_group \ 632ffe3c632Sopenharmony_ci go-no-group-benchmark \ 633ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_header) \ 634ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs) \ 635ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_proto2_header) \ 636ffe3c632Sopenharmony_ci $(cpp_no_group_benchmarks_protoc_outputs_proto2) \ 637ffe3c632Sopenharmony_ci generate_all_gogo_benchmark_code \ 638ffe3c632Sopenharmony_ci generate-gogo-benchmark-code \ 639ffe3c632Sopenharmony_ci cpp_no_group_protoc_middleman \ 640ffe3c632Sopenharmony_ci generate_cpp_no_group_benchmark_code \ 641ffe3c632Sopenharmony_ci generate_gogo_benchmark_code \ 642ffe3c632Sopenharmony_ci gogofast_protoc_middleman \ 643ffe3c632Sopenharmony_ci gogofast \ 644ffe3c632Sopenharmony_ci gogofaster_protoc_middleman \ 645ffe3c632Sopenharmony_ci gogofaster \ 646ffe3c632Sopenharmony_ci gogoslick_protoc_middleman \ 647ffe3c632Sopenharmony_ci gogoslick \ 648ffe3c632Sopenharmony_ci gogo-benchmark \ 649ffe3c632Sopenharmony_ci gogo/cpp_no_group/cpp_benchmark.* \ 650ffe3c632Sopenharmony_ci proto3_proto_middleman \ 651ffe3c632Sopenharmony_ci generate_proto3_data \ 652ffe3c632Sopenharmony_ci php-benchmark \ 653ffe3c632Sopenharmony_ci php-c-benchmark \ 654ffe3c632Sopenharmony_ci proto3_middleman_php \ 655ffe3c632Sopenharmony_ci pbjs_preparation \ 656ffe3c632Sopenharmony_ci pbjs_middleman \ 657ffe3c632Sopenharmony_ci pbjs-benchmark \ 658ffe3c632Sopenharmony_ci js_preparation \ 659ffe3c632Sopenharmony_ci js_middleman \ 660ffe3c632Sopenharmony_ci js-benchmark 661ffe3c632Sopenharmony_ci 662ffe3c632Sopenharmony_ciclean-local: 663ffe3c632Sopenharmony_ci -rm -rf tmp/* 664ffe3c632Sopenharmony_ci 665