Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

gn-0.20260605-1.3 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: gn Distribution: openSUSE Tumbleweed
Version: 0.20260605 Vendor: openSUSE
Release: 1.3 Build date: Mon Jun 8 20:51:11 2026
Group: Unspecified Build host: reproducible
Size: 2397791 Source RPM: gn-0.20260605-1.3.src.rpm
Packager: https://bugs.opensuse.org
Url: https://gn.googlesource.com/
Summary: A meta-build system that generates build files for Ninja
GN is a meta-build system that generates build files for Ninja.

Provides

Requires

License

BSD-3-Clause

Changelog

* Mon Jun 08 2026 Andreas Stieger <andreas.stieger@gmx.de>
  - Update to version 0.20260605:
    * Introduce --format-width option (and format_width .gn variable).
    * Resolve suggest inputs relative to target include directories.
    * Consider target outputs as existing files in `gn suggest`.
    * Reland "Fix toolchain dependencies not triggering rebuilds in Ninja"
    * Fix build with GCC 16 on musl by adding missing <cstdint>
    * Add module_deps[_no_self] to the default test toolchain
    * Implement cycle detection and circular dependency handling in `gn suggest`.
    * Reduce ResolvedTargetData lock contention by sharding targets map
    * Implement visibility checks in `gn suggest`.
    * Refactor `OutputSuggestions` to make it testable.
    * Format with c++23 standard
    * Enhance quiet mode.
    * Fix pretty printing of string literals.
    * Fix PointerSet and BuilderRecordMap iterators under C++23
    * Don't print the request when there's only one.
    * Bypass group targets for order-only deps in source set stamp files
    * Fix complete_static_lib to include Rust libraries.
    * Exports group's target "data" property
    * Optimize OrderOnlyDeps computation using ResolvedTargetData caching
    * Format gn src with run_formatter.sh
    * gn format: 80-character comment wrapping and reflowing improvements
    * Build with C++23
    * Revert "Fix toolchain dependencies not triggering rebuilds in Ninja"
    * Roll windows toolchain
    * Fix C++23 compilation errors
    * Fix toolchain dependencies not triggering rebuilds in Ninja
    * [gn] Bypass groups in order-only deps to use source set linkdeps
    * Update reference.md
* Thu Apr 30 2026 Ruediger Oertel <ro@suse.com>
  - Update to version 0.20260429:
    * Run update reference in CI
    * Add `gn suggest` subcommand.
    * Update documentation
    * [apple] Optimise enumeration of additional files for Xcode project
    * [gn] Split SOURCE_SET phony targets to exclude additional outputs from linking
    * Run formatter in CI
    * Rework update_reference.sh to run correctly in CI.
    * IWYU: gn/target.h
    * Revert "Run formatter and update reference in CI"
    * Revert "Fix: Ensure only actual object files are included in link inputs"
    * Run formatter and update reference in CI
    * Add --diff to run_formatter and update_reference
    * Fix: Ensure only actual object files are included in link inputs
    * Run `infra/recipes.py test train`.
    * Improve EXPECT_EQ diff printing
    * Simplify success expectations in GN.
    * Add support for c_additional_outputs in config
    * Add diffs to EXPECT_EQ.
    * Advertise QtCreator v20+ built-in GN support
    * Rename impl:$MODULE to $MODULE_Private.
    * Only output -fmodule-map-file for the root generated modulemap.
    * Add function `expand_directory` to gn.
    * Refactor ModuleType from an enum to a bitset.
    * Generate two modulemaps per target.
    * Put dependencies in modulemaps
    * Run formatter
    * Include your own modulemap files in module_deps_no_self.
    * Change default module name in GN to be the full label.
* Tue Apr 07 2026 Ruediger Oertel <ro@suse.com>
  - added patches:
    gn-multiline-comment.patch
    (change multiline comment so that line continuation character
    is not at the end of the line)
* Tue Apr 07 2026 Ruediger Oertel <ro@suse.com>
  - Update to version 0.20260331:
    * Add modulemap generation to GN.
    * Support building gn without a .git directory.
    * Limit the maximum number of GN worker threads to 32.
    * Remove premature target writing before validation during `gn gen`.
    * Only run target checks in background threads during resolution.
    * Add additional files to gitignore
    * Add `inputs` parameter to `tool`.
    * Unit test foo* not just *foo patterns
    * Unit test edge cases around consecutive \b in patterns
    * Reject newlines in string config values (defines, cflags, etc.)
    * Set clang-format to use C++20
    * Run formatter
    * Bump min mac version flag.
    * Add --error-limit flag to control error output count
    * [gn] Fix Value::operator== for empty lists
    * [gn] Optimize Value::LIST with Copy-On-Write using nullptr
    * Capture C++ modules compilation commands in compile_commands.json
    * Output -fmodule-map-file as well as -fmodule-file for module dependencies.
    * Optimize HeaderChecker by parallelizing ReachabilityCache pre-calculation and removing lock contention.
    * Optimize HeaderChecker file I/O by parsing files only once
    * Optimize reachability cache to drastically reduce BFS executions
    * Remove unused targets_count_ in HeaderChecker
    * Apply clang-format
    * Use high-performance cores on Apple Silicon for worker pool
    * Optimize HeaderChecker::IsDependencyOf using HashTableBase
    * [perf] Optimize HeaderChecker BFS using reserve()
    * [perf] Share ResolvedTargetData across worker threads
    * [perf] Cache dependency checks in HeaderChecker
    * [test] Fix SetupTest.AbsolutePythonPathInsideRootDir on macOS
    * [mac] Update minimum macOS version to 10.12
    * Include validations when collecting metadata
    * Fix target being written twice under certain circumstances
    * Add validation support to gn analyze/desc/path/refs
    * Fix race condition when using validations
    * Add pcm files to the deps of phony target
    * Add `validations` dependency type to targets
    * Fix result of Scheduler::Run() with empty work queue
    * Add conductor setup files
    * Improve writing runtime deps
    * Unit test label user visible name
    * Improve error message for rebase_path builtin
    * Minor table-driven test refactor
    * win: Use relative path for python in ninja files if possible
* Fri Dec 26 2025 Ruediger Oertel <ro@suse.com>
  - Update to version 0.20251217:
    * Fix sha2 on big endian
    * [Windows] Reduce the number of worker threads on many-core machines
    * Add a sha256 hash implementation and use it for string_hash
    * Opt-in to the Windows SegmentHeap
    * Add a `module_name` flag to source_set.
    * Refactor module name to be dynamic.
    * Optimize vector creation in compile_commands_writer.cc.
    * Run 'tools/run_formatter.sh'
    * Implement `string_hash` function.
    * Support weak_libraries
    * Do not add .inputdeps paths to --ninja-outputs-file
    * Make clang modules output -fmodule-file=foo=<pcm>.
    * infra: Revert CIPD autoconf
    * infra: Include autoconf bin directory to PATH
    * infra: Fix autoconf executable path
    * infra: Use CIPD autoconf
    * Allow led access in GN via http://go/ciba
    * Revert "Build non-linkable deps async with Ninja's validaitons"
    * Upgrade linux bots from ubuntu 22.04 to ubuntu 24.04
    * Use unordered_map instead of map in HeaderChecker
    * Add --file_relation to gn refs command
    * Optimize vector initialization and preallocation in desc_builder.cc.
    * Add `reserve` statement when vector size is known beforehand.
    * Refactor container update by preferring the range insert.
    * Handle symlinked directories correctly during gn clean on Windows.
    * Fix relative imports from args.gn.
* Fri Oct 03 2025 Andreas Stieger <andreas.stieger@gmx.de>
  - Update to version 0.20250918:
    * update reference.md
    * Include -fmodule-file flags in compile_commands.json
    * Refactor C++ module dependency logic into a new utility
    * Gitiles navigation bar
    * Adds a len() function
    * Avoid clashes of include_dir in rust-project.json.
    * Check all targets to find duplicated outputs.
    * infra/config: Remove luci.recipes.use_python3 experiment
    * Handle empty outputs in WriteInputDepsStampOrPhonyAndGetDep
    * build: Propagate module dependencies through group targets
    * Deduplicate item in 'deps', 'sources' and related lists
    * infra: Update comment for macOS version used in CQ/CI
    * [Apple] Allow passing a manifest to the post-processing script
    * Update link to buganizer in README.md
    * [Apple] Fix `gn gen` when using swift and no_stamp_files
    * [Apple] Remove deprecated aliases for `post_processing_$var`
    * Revert "Allow newline in string literal"
    * Use std::ranges::all_of in parse_tree_unittest
    * infra: Correctly use macOS 13 instead of 11
    * Update Xcode and macOS version in bots
    * infra: Add shadow buckets to trigger led job
    * Allow newline in string literal
    * Revert "Update macOS version to 13 used in CQ/CI"
    * Update macOS version to 13 used in CQ/CI
    * Refactor command_format.cc
    * Shorten targets from //path/to/foo:foo to //path/to/foo
    * Modernize and improve parse_tree.cc
    * Auto-format the codebase
    * Remove hardcoded -fmodules-embed-all-files flag
    * Reland "Use JSON escaping for JSON string output"
* Tue Jul 01 2025 Ruediger Oertel <ro@suse.com>
  - Update to version 0.20250619:
    * Reland #2 "Run Target::OnResolve() on background threads"
    * Propagate module dependencies transitively via public_deps
    * Fix bug in Grow logic in HashTableBase
    * Apply tools/run_formatter.sh
    * Revert "Reland "Run Target::OnResolve() on background threads""
    * Reland "Run Target::OnResolve() on background threads"
    * Enable ASAN & UBSAN when running tests in debug on CQ/CI
    * Revert "Run Target::OnResolve() on background threads"
    * Check all targets before generating shortnames
    * [tvos] Search for `kTargetXcodePlatform` from all arguments
    * Run Target::OnResolve() on background threads
    * specify the gerrit listener type to be legacy poller
    * Optimize Target::EnsureFileIsGeneratedByDependency()
    * Fix lsan errors
    * Add myself to OWNERS, remove xoolger addresses
    * Revert "Use JSON escaping for JSON string output"
    * Use JSON escaping for JSON string output
    * [tvos] Handle a type error with target_xcode_platform
    * [tvos] Add target_xcode_platform to set Xcode project
    * Add `--filter-with-data` flag for `gn gen --ide=json`
    * Handle --ide=vs2019 switch
    * Handle hpp11 file extension.
    * Fix `gn help --root-pattern`
    * Build non-linkable deps async with Ninja's validaitons
    * Generate compile_commands.json as part of build/gen.py
    * apply the latest clang-format
    * Add a test for source_set with modulemap
    * Write .gitignore file to build directory
    * Add more on how args are processed to "help execution".
    * Make `gn_version` available in the dotfile.
    * Tweak `help execution` wording after c0a46c5.
    * Attempt to improve the documentation for "help execution".
    * zos: build with -m64 and ignore unknown-pragmas
    * Unit test parser/tokenizer against double minus
* Tue May 20 2025 Ruediger Oertel <ro@suse.com>
  - Update to version 0.20250520:
    * Add `--filter-with-data` flag for `gn gen --ide=json`
    * Handle --ide=vs2019 switch
    * Handle hpp11 file extension.
    * Fix `gn help --root-pattern`
    * Build non-linkable deps async with Ninja's validaitons
    * Generate compile_commands.json as part of build/gen.py
    * apply the latest clang-format
    * Add a test for source_set with modulemap
    * Write .gitignore file to build directory
    * Add more on how args are processed to "help execution".
    * Make `gn_version` available in the dotfile.
    * Tweak `help execution` wording after c0a46c5.
    * Attempt to improve the documentation for "help execution".
    * zos: build with -m64 and ignore unknown-pragmas
    * Unit test parser/tokenizer against double minus
* Thu Mar 06 2025 ro@suse.com
  - Update to version 0.20250306:
    * Remove deps from rust executable to module's pcm files
    * Update test for rust executable deps
    * Add toolchain for cxx modules in TestWithScope
    * Apply the latest clang-format
    * Update reference for {rustdeps}
    * Always generate a .toolchain file even if it is empty.
    * Pass --with-lg-page=16 when building jemalloc for arm64.
    * Remove obsolete debug checks.
    * Make default vs ide version on Windows as 2022
    * Reland "Adds a path_exists() function"
    * Revert "Adds a path_exists() function"
    * Adds a path_exists() function
    * Revert "Speed-up GN with custom OutputStream interface."
    * Speed-up GN with custom OutputStream interface.
    * Add `exec_script_allowlist` to replace `exec_script_whitelist`.
    * Retry ReplaceFile in case of failure
    * Fix crash when NinjaBuildWriter::RunAndWriteFile fails
    * fix include for escape.h
    * fix exit code for gn gen failure
    * misc: Use html.escape instead of cgi.escape
    * Do not copy parent build_dependency_files_ in Scope constructors.
    * Improve error message for duplicated items
    * [rust-project] Always use forward slashes in sysroot paths
    * Update all_dependent_configs docs.
    * set 'no_stamp_files' by default
    * fix a typo
    * Stop using transitional LFS64 APIs
    * do not use tool prefix for phony rule
    * [rust] Add sysroot_src to rust-project.json
    * Implement and enable 'no_stamp_files'
    * Add Target::dependency_output_alias()
    * Add "outputs" to generated_file documentation.
    * Update bug database link.
    * remove a trailing space after variable bindings
    * fix tool name in error
    * remove unused includes
    * Markdown optimization (follow-up)
    * Support link_output, depend_output in Rust linked tools.
    * Properly verify runtime_outputs in rust tool definitions.
    * BugFix: Syntax error in gen.py file
    * generated_file: add output to input deps of stamp
    * Markdown optimization:
    * Revert "Rust: link_output, depend_output and runtime_outputs for dylibs"
    * hint using nogncheck on disallowed includes
* Mon Sep 23 2024 ro@suse.de
  - add "-Wno-unused-value" to fix build on armv6/armv7
* Fri Aug 02 2024 ro@suse.com
  - Update to version 0.20240730:
    * Rust: link_output, depend_output and runtime_outputs for dylibs
    * Add missing reference section to function_toolchain.cc
    * Do not cleanup args.gn imports located in the output directory.
    * Fix expectations in NinjaRustBinaryTargetWriterTest.SwiftModule
    * Do not add native dependencies to the library search path
    * Support linking frameworks and swiftmodules in Rust targets
    * [desc] Silence print() statements when outputing json
    * infra: Move CI/try builds to Ubuntu-22.04
    * [MinGW] Fix mingw building issues
    * [gn] Fix "link" in the //examples/simple_build/build/toolchain/BUILD.gn
    * [template] Fix "rule alink_thin" in the //build/build_linux.ninja.template
    * Allow multiple --ide switches
    * [src] Add "#include <limits>" in the //src/base/files/file_enumerator_win.cc
    * Get updates to infra/recipes.py from upstream
    * Revert "Teach gn to handle systems with > 64 processors"
    * [apple] Rename the code-signing properties of create_bundle
    * Fix a typo in "gn help refs" output
    * Revert "[bundle] Use "phony" builtin tool for create_bundle targets"
    * [bundle] Use "phony" builtin tool for create_bundle targets
    * [ios] Simplify handling of assets catalog
    * [swift] List all outputs as deps of "source_set" stamp file
    * [swift] Update `gn check ...` to consider the generated header
    * [swift] Set `restat = 1` to swift build rules
    * Fix build with gcc12
    * [label_matches] Add new functions label_matches(), filter_labels_include() and filter_labels_exclude()
    * [swift] Remove problematic use of "stamp" tool
    * Implement new --ninja-outputs-file option.
    * Add NinjaOutputsWriter class
    * Move InvokePython() function to its own source file.
    * zos: build with -DZOSLIB_OVERRIDE_CLIB to override creat
    * Enable C++ runtime assertions in debug mode.
    * Fix regression in MakeRelativePath()
    * fix: Fix Windows MakeRelativePath.
    * Add long path support for windows
    * Ensure read_file() files are considered by "gn analyze"
    * apply 2to3 to for some Python scripts
    * Add rustflags to desc and help output
    * strings: support case insensitive check only in StartsWith/EndsWith
    * add .git-blame-ignore-revs
    * use std::{string,string_view}::{starts_with,ends_with}
    * apply clang-format to all C++ sources
    * add forward declaration in rust_values.h
    * Add `root_patterns` list to build configuration.
    * Use c++20 in GN build
    * update windows sdk to 2024-01-11
    * update windows sdk
    * Add linux-riscv64.
    * Update OWNERS list.
    * remove unused function
    * Ignore build warning -Werror=redundant-move
    * Fix --as=buildfile `gn desc deps` output.
    * Update recipe engine to 9dea1246.
    * treewide: Fix spelling mistakes
  - add subprocess-python36.patch
    to build with python3.6 on sle15
  - use gcc-13 instead of gcc-12
    to work around maybe uninitialized error
* Tue Feb 27 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Use %patch -P N instead of deprecated %patchN.
* Fri Nov 10 2023 Andreas Stieger <andreas.stieger@gmx.de>
  - Update to version 0.20231023:
    * many updates to support Chromium 119 build
  - drop deprecated_copy.patch
  - add redundant-move.patch
* Thu Mar 09 2023 Callum Farmer <gmbr3@opensuse.org>
  - Bump Leap's GCC version to 12 to align with the other Chromium
    tools
  - Exclude ppc - it doesn't build

Files

/usr/bin/gn
/usr/share/licenses/gn
/usr/share/licenses/gn/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Aug 2 01:54:38 2026