diff options
-rw-r--r-- | etc/defaults/CC/TARGETS.absl | 56 | ||||
-rw-r--r-- | etc/import/absl/time/internal/cctz/TARGETS.absl | 5 | ||||
-rw-r--r-- | etc/repos.json | 8 |
3 files changed, 68 insertions, 1 deletions
diff --git a/etc/defaults/CC/TARGETS.absl b/etc/defaults/CC/TARGETS.absl new file mode 100644 index 00000000..c5ecd903 --- /dev/null +++ b/etc/defaults/CC/TARGETS.absl @@ -0,0 +1,56 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["clang"] + , "CXX": ["clang++"] + , "CFLAGS": [] + , "CXXFLAGS": + [ "-std=c++20" + , "-Wall" + , "-Wextra" + , "-Weverything" + , "-Wno-c++98-compat-pedantic" + , "-Wno-conversion" + , "-Wno-covered-switch-default" + , "-Wno-deprecated" + , "-Wno-disabled-macro-expansion" + , "-Wno-double-promotion" + , "-Wno-comma" + , "-Wno-extra-semi" + , "-Wno-extra-semi-stmt" + , "-Wno-packed" + , "-Wno-padded" + , "-Wno-sign-compare" + , "-Wno-float-conversion" + , "-Wno-float-equal" + , "-Wno-format-nonliteral" + , "-Wno-gcc-compat" + , "-Wno-global-constructors" + , "-Wno-exit-time-destructors" + , "-Wno-non-modular-include-in-module" + , "-Wno-old-style-cast" + , "-Wno-range-loop-analysis" + , "-Wno-reserved-id-macro" + , "-Wno-shorten-64-to-32" + , "-Wno-switch-enum" + , "-Wno-thread-safety-negative" + , "-Wno-unknown-warning-option" + , "-Wno-unreachable-code" + , "-Wno-unused-macros" + , "-Wno-weak-vtables" + , "-Wno-zero-as-null-pointer-constant" + , "-Wbitfield-enum-conversion" + , "-Wbool-conversion" + , "-Wconstant-conversion" + , "-Wenum-conversion" + , "-Wint-conversion" + , "-Wliteral-conversion" + , "-Wnon-literal-null-conversion" + , "-Wnull-conversion" + , "-Wobjc-literal-conversion" + , "-Wno-sign-conversion" + , "-Wstring-conversion" + ] + , "AR": ["ar"] + , "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"] + } +} diff --git a/etc/import/absl/time/internal/cctz/TARGETS.absl b/etc/import/absl/time/internal/cctz/TARGETS.absl index 497ac3e6..0b898f4a 100644 --- a/etc/import/absl/time/internal/cctz/TARGETS.absl +++ b/etc/import/absl/time/internal/cctz/TARGETS.absl @@ -13,6 +13,11 @@ { "type": ["@", "rules", "CC", "library"] , "name": ["time_zone"] , "stage": ["absl", "time", "internal", "cctz"] + , "local cflags": + [ "-Wno-shadow" + , "-Wno-unused-template" + , "-Wno-tautological-type-limit-compare" + ] , "srcs": [ "src/time_zone_fixed.cc" , "src/time_zone_format.cc" diff --git a/etc/repos.json b/etc/repos.json index fb18f689..dcd0434b 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -42,6 +42,12 @@ , "target_file_name": "TARGETS.protobuf" , "bindings": {"protoc": "protobuf", "grpc": "com_github_grpc_grpc"} } + , "rules-absl": + { "repository": "rules" + , "target_root": "defaults" + , "rule_root": "rules" + , "target_file_name": "TARGETS.absl" + } , "import targets": {"repository": {"type": "file", "path": "etc/import"}} , "gsl-lite": { "repository": @@ -167,7 +173,7 @@ } , "target_root": "import targets" , "target_file_name": "TARGETS.absl" - , "bindings": {"rules": "rules"} + , "bindings": {"rules": "rules-absl"} } , "zlib": { "repository": |