「view this page in B3 βῆτα server」

Revisions №62240

branch: rosetta:main 「№62240」
Commited by: lyskov-ai
GitHub commit link: 「36534127fcb60cad」
Difference from previous tested commit:  code diff
Commit date: 2026-05-07 13:56:27
linux.clang linux.gcc linux.srlz mac.clang
debug
release
unit
mac.clang.python38.PyRosetta.unit ubuntu.clang.cxx11thread.serialization.python38.PyRosetta.unit mpi mpi.serialization m1.clang.python314.build.debug build.header build.levels build.ninja_debug beautification code_quality.cppcheck code_quality.merge_size serialization code_quality.submodule_regression integration.mpi integration.release_debug integration.tensorflow integration.thread integration.torch integration performance profile release.PyRosetta.MinSizeRel linux.clang.score linux.gcc.score mac.clang.score scripts.pyrosetta scripts.rosetta.parse scripts.rosetta.validate scripts.rosetta.verify util.apps windows.build.debug windows.build.release

Refactor ozstream raw pointers to unique_ptr; modernize orstream copy ops (#667) ## Summary - Replace three raw owning pointers in `ozstream` (`char_buffer_p_`, `zip_stream_p_`, `mpi_stream_p_`) with `std::unique_ptr`, eliminating manual `delete`/`nullptr` pairs in `open()`, `open_append()`, `open_append_if_existed()`, `close()`, and the buffer helpers - Modernize the private-undefined copy constructor/assignment in `orstream` to explicit `= delete`, consistent with the approach used in `irstream`/`izstream` (PR #664) ## Test plan - [x] Full debug build passes (`python3 ./scons.py -j16 mode=debug`) - [ ] No behavior change expected — ownership semantics are identical; `close()` still runs `zflush_finalize()` and `mpi_ostream::close()/clear()` before releasing the pointers

...
Test: mac.clang.python39.integration

Failed sub-tests (click for more details):
mp_f19_relax
Test: linux.clang.performance

Failed sub-tests (click for more details):
instantiate_modules_packer_palettes