diff options
Diffstat (limited to 'absl/copts')
-rw-r--r-- | absl/copts/GENERATED_AbseilCopts.cmake | 2 | ||||
-rw-r--r-- | absl/copts/GENERATED_copts.bzl | 2 | ||||
-rw-r--r-- | absl/copts/copts.py | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | absl/copts/generate_copts.py | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index e6678a4fb5aa..df2c3c004a9b 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -1,7 +1,7 @@ # GENERATED! DO NOT MANUALLY EDIT THIS FILE. # # (1) Edit absl/copts/copts.py. -# (2) Run `python <path_to_absl>/copts/generate_copts.py`. +# (2) Run `<path_to_absl>/copts/generate_copts.py`. list(APPEND GCC_EXCEPTIONS_FLAGS "-fexceptions" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 134797dad3fa..af20dccc7f20 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -1,7 +1,7 @@ """GENERATED! DO NOT MANUALLY EDIT THIS FILE. (1) Edit absl/copts/copts.py. -(2) Run `python <path_to_absl>/copts/generate_copts.py`. +(2) Run `<path_to_absl>/copts/generate_copts.py`. """ GCC_EXCEPTIONS_FLAGS = [ diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 2fbba8830978..79689037367c 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -4,7 +4,7 @@ This is the source of truth for Abseil compiler options. To modify Abseil compilation options: (1) Edit the appropriate list in this file. - (2) Run `python <path_to_absl>/copts/generate_copts.py`. + (2) Run `<path_to_absl>/copts/generate_copts.py`. The generated copts are consumed by configure_copts.bzl and AbseilConfigureCopts.cmake. diff --git a/absl/copts/generate_copts.py b/absl/copts/generate_copts.py index 5052e22ad7ce..28b677e0cd3c 100644..100755 --- a/absl/copts/generate_copts.py +++ b/absl/copts/generate_copts.py @@ -1,6 +1,7 @@ +#!/usr/bin/python """Generate Abseil compile compile option configs. -Usage: python absl/generate_copts.py +Usage: <path_to_absl>/copts/generate_copts.py The configs are generated from copts.py. """ |