[UpdateTestChecks] Add --filter/--filter-out support to update_mir_test_checks.py (#191059)
These options were already accepted by the script but silently ignored.
This patch makes them functional, consistent with
update_llc_test_checks.py.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
sysutils/snapraid: update to 14.2
A bug fix release for an issue on some Linux file systems (such as
F2FS) where posix_fadvise() can fail in unexpected ways. While we
are not known to be affected, it is conceivable that something like
this happens with a FUSE filesystem.
Changelog: https://github.com/amadvance/snapraid/releases/tag/v14.2
MFH: 2026Q2
(cherry picked from commit 72eeb47d4a2b24e7ec6894ac64e9171d4ecdca32)
converters/osm2pgrouting: fix build with recent libpqxx
Recent versions of libpqxx require C++20 to be used.
Adjust the requested C++ standard in CMakeLists.txt.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
(cherry picked from commit 7bfaddbcafafd8fc1d5649d75f64af46b4a095e3)
net-mgmt/arts++: broken, deprecate
- unmaintained
- deprecated by upstream
- broken due to C++ changes:
/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:37:83: error: '__trivially_relocatable' is a private member of 'std::pair<unsigned int, unsigned int>'
37 | __enable_if_t<is_same<_Tp, typename _Tp::__trivially_relocatable>::value> >
| ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:626:44: note: during template argument deduction for class template partial specialization '__libcpp_is_trivially_relocatable<_Tp, __enable_if_t<is_same<_Tp, typename _Tp::__trivially_relocatable>::value> >' [with _Tp = ArtsSelection<unsigned int>]
626 | if (__libcpp_is_constant_evaluated() || !__libcpp_is_trivially_relocatable<_Tp>::value ||
| ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:626:44: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable<ArtsSelection<unsigned int> >' requested here
/usr/include/c++/v1/vector:1052:8: note: in instantiation of function template specialization 'std::__uninitialized_allocator_relocate<std::allocator<ArtsSelection<unsigned int> >, ArtsSelection<unsigned int> >' requested here
1052 | std::__uninitialized_allocator_relocate(
| ^
/usr/include/c++/v1/vector:1502:3: note: in instantiation of member function 'std::vector<ArtsSelection<unsigned int> >::__swap_out_circular_buffer' requested here
1502 | __swap_out_circular_buffer(__v);
| ^
[13 lines not shown]
sysutils/snapraid: update to 14.2
A bug fix release for an issue on some Linux file systems (such as
F2FS) where posix_fadvise() can fail in unexpected ways. While we
are not known to be affected, it is conceivable that something like
this happens with a FUSE filesystem.
Changelog: https://github.com/amadvance/snapraid/releases/tag/v14.2
MFH: 2026Q2
converters/osm2pgrouting: fix build with recent libpqxx
Recent versions of libpqxx require C++20 to be used.
Adjust the requested C++ standard in CMakeLists.txt.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
net-mgmt/arts++: broken, deprecate
- unmaintained
- deprecated by upstream
- broken due to C++ changes:
/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:37:83: error: '__trivially_relocatable' is a private member of 'std::pair<unsigned int, unsigned int>'
37 | __enable_if_t<is_same<_Tp, typename _Tp::__trivially_relocatable>::value> >
| ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:626:44: note: during template argument deduction for class template partial specialization '__libcpp_is_trivially_relocatable<_Tp, __enable_if_t<is_same<_Tp, typename _Tp::__trivially_relocatable>::value> >' [with _Tp = ArtsSelection<unsigned int>]
626 | if (__libcpp_is_constant_evaluated() || !__libcpp_is_trivially_relocatable<_Tp>::value ||
| ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:626:44: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable<ArtsSelection<unsigned int> >' requested here
/usr/include/c++/v1/vector:1052:8: note: in instantiation of function template specialization 'std::__uninitialized_allocator_relocate<std::allocator<ArtsSelection<unsigned int> >, ArtsSelection<unsigned int> >' requested here
1052 | std::__uninitialized_allocator_relocate(
| ^
/usr/include/c++/v1/vector:1502:3: note: in instantiation of member function 'std::vector<ArtsSelection<unsigned int> >::__swap_out_circular_buffer' requested here
1502 | __swap_out_circular_buffer(__v);
| ^
[12 lines not shown]
[Clang] Enable multilib library support for Linux/Windows (#188584)
Summary:
This PR standardizes the logic used in the baremtal build to the common
toolchain interface. We then use this to handle the support in Linux and
Windows.
The multilib functionality allows us to select variant libraries based
off of a configuration file. For example, if the `multilib.yaml` file
detects `-fsanitize=address` it will automatically use the libraries
inside of `asan/` instead. These are layered so they do not necessarily
need to be complete library builds. More documentation can be found at
https://clang.llvm.org/docs/Multilib.html.
The motivation for this is so platforms like ROCm can use a more
standard way to ship debug / asan variants of libraries like OpenMP or
similar for both GPU an CPU targets.
[lldb] Fix: Disable shared build dir when testing with PDB (#190991)
The mechanism to disable `SHARED_BUILD_TESTCASE` for tests
that set `TEST_WITH_PDB_DEBUG_INFO` doesn't work. The property
was set on the wrong object. This patch fixes it and moves the assignment
after the for-loop, since the respective dict only exists there.
[mlir][EmitC] Convert math::RoundEvenOp, SqrtOp and RsqrtOp (#190158)
This patch extends the Math-to-EmitC conversion to cover `math.roundeven` and
`math.sqrt` for scalar f32/f64 values.
`math.roundeven` and `math.sqrt` are lowered to `emitc.call_opaque` using the
appropriate target-specific names:
C: `roundevenf` / `roundeven`, `sqrtf` / `sqrt`
C++: `std::roundeven`, `std::sqrt`
The patch also adds coverage for `math.rsqrt`. There is no direct EmitC
lowering for `math.rsqrt`; instead, the new tests verify the existing expansion
path through `-math-expand-ops=ops=rsqrt`, followed by `-convert-math-to-emitc`
and `-convert-arith-to-emitc`. This ensures the cross-dialect lowering sequence
produces the expected `emitc.constant`, `emitc.call_opaque`, and `emitc.div`
operations for f32/f64.
Unsupported cases remain unchanged. In particular, the new test documents that
f16 math.rsqrt is not lowered because math.sqrt is only converted for f32/f64.
[UpdateTestChecks] Add --filter/--filter-out support to update_mir_test_checks.py
These options were already accepted by the script but silently ignored.
This patch makes them functional, consistent with update_llc_test_checks.py.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>