[mlir][build] Pass extra compiler/linker flags to `add_mlir_python_modules` (#204230)
`add_mlir_python_modules()` is used to build the nanobind runtime
library and dialect extension DSOs with a default set of compile and
link options. Projects using these modules may need to augment these
options to handle the warnings of this specific part of the build
differently or to add specific libraries to the shared objects. This
patch introduces four optional CMake variables that allow callers to
provide additional compiler and linker flags:
```
MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_COMPILE_OPTIONS
MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_LINK_LIBS
MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_COMPILE_OPTIONS
MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_LINK_LIBS
```
NFC if the new cmake variables are unset.
[flang] Treat a bare carriage return as whitespace outside literals (#206171)
Free-form (and fixed-form) source files authored or transferred on
Windows can contain a stray carriage return (0x0d or \r) in the interior
of a line, for example between a token and a trailing '&' continuation
marker:
COMMON/CM1/<CR> &
flang rejected such files with "bad character (0x0d) in Fortran token",
whereas the other compilers accept them. Carriage returns that form a
clean CRLF line ending were already tolerated; only a CR in the
significant part of a line tripped the error.
The fix is to skip over the stray <CR> outside of character literals.
Assisted-by: AI
[libc++] LWG4557: Remove `constexpr` from `owner_less` and `owner_before` (#191534)
Closes #189885.
The implementation was already conformant. Adding status tracking
updates.
[lldb] Treat synthetic variables as locals (#204431)
From the discussion in #204177: Synthetic variables were, if they
weren't variables already, created with their original type plus a flag
that they're synthetic (`ValueTypeSyntheticMask`). This could lead to
unexpected results. For example, when a synthetic frame would return a
value derived from a global variable in `GetVariables`, the created
variable would be treated as a synthetic global variable.
With this PR, synthetic frames can overwrite the value type of the
variables they return.
go-transifex-cli: Import go-transifex-cli-1.6.17 as wip/go-transifex-cli
The Transifex Command-line Client (APIv3) which should replace old
devel/transifex-client.