Files
flipper/packer
dependabot[bot] cc656a3ee0 Bump rayon from 1.7.0 to 1.8.0 in /packer (#5172)
Summary:
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.8.0 / rayon-core 1.12.0 (2023-09-20)</h1>
<ul>
<li>The minimum supported <code>rustc</code> is now 1.63.</li>
<li>Added <code>ThreadPoolBuilder::use_current_thread</code> to use the builder thread as
part of the new thread pool. That thread does not run the pool's main loop,
but it may participate in work-stealing if it yields to rayon in some way.</li>
<li>Implemented <code>FromParallelIterator&lt;T&gt;</code> for <code>Box&lt;[T]&gt;</code>, <code>Rc&lt;[T]&gt;</code>, and
<code>Arc&lt;[T]&gt;</code>, as well as <code>FromParallelIterator&lt;Box&lt;str&gt;&gt;</code> and
<code>ParallelExtend&lt;Box&lt;str&gt;&gt;</code> for <code>String</code>.</li>
<li><code>ThreadPoolBuilder::build_scoped</code> now uses <code>std::thread::scope</code>.</li>
<li>The default number of threads is now determined using
<code>std::thread::available_parallelism</code> instead of the <code>num_cpus</code> crate.</li>
<li>The internal logging facility has been removed, reducing bloat for all users.</li>
<li>Many smaller performance tweaks and documentation updates.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21e1ae1e12"><code>21e1ae1</code></a> Release rayon 1.4.0 / rayon-core 1.8.0</li>
<li><a href="a0e5833b76"><code>a0e5833</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/785">https://github.com/facebook/flipper/issues/785</a> <a href="https://redirect.github.com/rayon-rs/rayon/issues/790">https://github.com/facebook/flipper/issues/790</a> <a href="https://redirect.github.com/rayon-rs/rayon/issues/791">https://github.com/facebook/flipper/issues/791</a></li>
<li><a href="9f7357befb"><code>9f7357b</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/792">https://github.com/facebook/flipper/issues/792</a></li>
<li><a href="998f134242"><code>998f134</code></a> Removed outdated documentation</li>
<li><a href="c7d963a9c2"><code>c7d963a</code></a> Use crossbeam_deque::Injector instead of crossbeam_queue::SegQueue</li>
<li><a href="2e889293a8"><code>2e88929</code></a> Micro-optimize the WorkerThread::steal loop</li>
<li><a href="66559fe9ce"><code>66559fe</code></a> Remove the lifetime constraint from the scope OP</li>
<li><a href="09428ec11d"><code>09428ec</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/746">https://github.com/facebook/flipper/issues/746</a></li>
<li><a href="ed6a5f75c4"><code>ed6a5f7</code></a> Update ci/compat-Cargo.lock</li>
<li><a href="96ba9ef188"><code>96ba9ef</code></a> inline more Counter methods</li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon&package-manager=cargo&previous-version=1.7.0&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/5172

Reviewed By: lblasa

Differential Revision: D49725788

Pulled By: passy

fbshipit-source-id: 5798c7c8bd831acd2291fc07628cc3005ab8f703
2023-09-28 04:57:21 -07:00
..
2023-05-25 10:13:23 -07:00
2020-05-01 04:04:48 -07:00
2022-07-27 07:43:12 -07:00

Flipper Packer

A tool for splitting a Flipper build into smaller artifacts that can be distributed and cached separately.

N.B. Buck build files are not included in the open-source export of this tool.

Building

With cargo:

$ cargo build

With Buck:

$ buck build :packer

Testing

With cargo:

$ cargo test

With Buck:

buck test :packer

Usage

See help page:

$ cargo run -- --help
flipper-packer 0.4.0
Facebook, Inc.
Helper tool that breaks down a Flipper release into smaller artifacts.

USAGE:
    flipper-packer [OPTIONS] <PLATFORM>

ARGS:
    <PLATFORM>    Platform to build for

OPTIONS:
    -d, --dist <DIST>            Flipper dist directory to read from [default:
                                 ~/fbsource/xplat/sonar/dist]
    -h, --help                   Print help information
        --no-compression         Skip compressing the archives (for debugging)
    -o, --output <OUTPUT>        Directory to write output files to [default: .]
    -p, --packlist <PACKLIST>    Custom list of files to pack
    -V, --version                Print version information

Buck:

buck run :packer