Meson WrapDB for Google's cityhash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.ninja 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # This is the build file for project "cityhash"
  2. # It is autogenerated by the Meson build system.
  3. # Do not edit by hand.
  4. ninja_required_version = 1.5.1
  5. # Rules for compiling.
  6. rule llvm_ir_COMPILER
  7. command = sc++ $ARGS -o $out -c $in
  8. description = Compiling LLVM IR object $in.
  9. rule cpp_COMPILER
  10. command = sc++ $ARGS -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
  11. deps = gcc
  12. depfile = $DEPFILE
  13. description = Compiling C++ object $out.
  14. rule cpp_PCH
  15. command = sc++ $ARGS -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
  16. deps = gcc
  17. depfile = $DEPFILE
  18. description = Precompiling header $in.
  19. # Rules for linking.
  20. rule STATIC_LINKER
  21. command = rm -f $out && ar $LINK_ARGS $out $in
  22. description = Linking static target $out.
  23. rule cpp_LINKER
  24. command = sc++ $ARGS -o $out $in $LINK_ARGS $aliasing
  25. description = Linking target $out.
  26. rule SHSYM
  27. command = /usr/bin/python3.6 /usr/local/bin/meson --internal symbolextractor $in $out $CROSS
  28. restat = 1
  29. description = Generating symbol file $out.
  30. # Other rules
  31. rule CUSTOM_COMMAND
  32. command = $COMMAND
  33. description = $DESC
  34. restat = 1
  35. rule CUSTOM_COMMAND_DEP
  36. command = $COMMAND
  37. description = $DESC
  38. deps = gcc
  39. depfile = $DEPFILE
  40. restat = 1
  41. rule REGENERATE_BUILD
  42. command = /usr/bin/python3.6 /usr/local/bin/meson --internal regenerate /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build --backend ninja
  43. description = Regenerating build files.
  44. generator = 1
  45. # Phony build target, always out of date
  46. build PHONY: phony
  47. # Build rules for targets
  48. build cityhash@sha/src_city.cc.o: cpp_COMPILER ../src/city.cc
  49. DEPFILE = cityhash@sha/src_city.cc.o.d
  50. ARGS = -Icityhash@sha -I. -I.. -I../src/ -Iinternal -I../internal -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -march=native -msse4a -mfma -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -fPIC
  51. build cityhash@sha/libcityhash.so.symbols: SHSYM libcityhash.so
  52. build libcityhash.so: cpp_LINKER cityhash@sha/src_city.cc.o
  53. LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libcityhash.so -Wl,--end-group -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI
  54. # Test rules
  55. build meson-test: CUSTOM_COMMAND all PHONY
  56. COMMAND = /usr/bin/python3.6 -u /usr/local/bin/meson test --no-rebuild --print-errorlogs
  57. DESC = Running$ all$ tests.
  58. pool = console
  59. build test: phony meson-test
  60. build meson-benchmark: CUSTOM_COMMAND all PHONY
  61. COMMAND = /usr/bin/python3.6 -u /usr/local/bin/meson test --benchmark --logbase benchmarklog --num-processes=1 --no-rebuild
  62. DESC = Running$ benchmark$ suite.
  63. pool = console
  64. build benchmark: phony meson-benchmark
  65. # Install rules
  66. build meson-install: CUSTOM_COMMAND PHONY | all
  67. DESC = Installing$ files.
  68. COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal install /mnt/c/Users/Mahmoud/git/cityhash/build/meson-private/install.dat
  69. pool = console
  70. build install: phony meson-install
  71. build meson-dist: CUSTOM_COMMAND PHONY
  72. DESC = Creating$ source$ packages
  73. COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal dist /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build /usr/bin/python3.6 /usr/local/bin/meson
  74. pool = console
  75. build dist: phony meson-dist
  76. # Suffix
  77. build meson-scan-build: CUSTOM_COMMAND PHONY
  78. COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal scanbuild /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build /usr/bin/python3.6 /usr/local/bin/meson
  79. pool = console
  80. build scan-build: phony meson-scan-build
  81. build meson-uninstall: CUSTOM_COMMAND PHONY
  82. COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal uninstall
  83. pool = console
  84. build uninstall: phony meson-uninstall
  85. build all: phony libcityhash.so
  86. default all
  87. build clean: phony meson-clean
  88. build meson-clean: CUSTOM_COMMAND PHONY
  89. COMMAND = ninja -t clean
  90. description = Cleaning.
  91. build build.ninja: REGENERATE_BUILD ../meson.build ../internal/meson.build meson-private/coredata.dat
  92. pool = console
  93. build reconfigure: REGENERATE_BUILD PHONY
  94. pool = console
  95. build ../meson.build ../internal/meson.build meson-private/coredata.dat: phony