Граф коммитов

1610 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] b131b09334
build(deps): bump reqsign from 0.8.3 to 0.8.5 (#1692)
Bumps reqsign from 0.8.3 to 0.8.5.

---
updated-dependencies:
- dependency-name: reqsign
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 03:05:30 +08:00
dependabot[bot] 2c7dca00e9
build(deps): bump reqwest from 0.11.15 to 0.11.16 (#1691)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.15 to 0.11.16.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.15...v0.11.16)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 02:59:08 +08:00
dependabot[bot] ce14088d32
build(deps): bump crossbeam-utils from 0.8.14 to 0.8.15 (#1693)
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.14 to 0.8.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.14...crossbeam-utils-0.8.15)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 02:58:53 +08:00
dependabot[bot] 5fd5452cbb
build(deps): bump toml from 0.7.2 to 0.7.3 (#1695)
Bumps [toml](https://github.com/toml-rs/toml) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 02:45:10 +08:00
dependabot[bot] 51e21589b7
build(deps): bump predicates from 2.1.5 to 3.0.2 (#1694)
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.5 to 3.0.2.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.5...v3.0.2)

---
updated-dependencies:
- dependency-name: predicates
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 02:44:58 +08:00
dependabot[bot] 79fa02ab2a
build(deps): bump regex from 1.7.1 to 1.7.3 (#1690)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.1...1.7.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 02:24:53 +08:00
Sylvestre Ledru d0d1beadd2 version 0.4.1 2023-03-27 12:09:39 +02:00
Sylvestre Ledru 8742d91acf Revert "Support running dist compilations in unprivileged scenarios (#128)"
This reverts commit 20a08fc079.
2023-03-27 12:08:40 +02:00
Sylvestre Ledru 569f2d76a9 Revert "amend to sccache"
This reverts commit b9a57a329d.
2023-03-27 12:08:40 +02:00
Sylvestre Ledru 42ae49708b Revert "remove remainder cachepot and replace by sccache"
This reverts commit 82813c1d9a.
2023-03-27 12:08:40 +02:00
Sylvestre Ledru 6fa6fa5b15 Revert "migrate to ubuntu 22.04 for newly added ci check"
This reverts commit bc0718f059.
2023-03-27 12:08:40 +02:00
dependabot[bot] f9cc320e4f build(deps): bump reqwest from 0.11.14 to 0.11.15
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.14 to 0.11.15.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.14...v0.11.15)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 09:30:57 +01:00
dependabot[bot] 4c25ed125f build(deps): bump openssl from 0.10.45 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 08:33:49 +01:00
Xuanwo e8a234b1dd chore: Add more debug log for gcs to help us diagnose
Signed-off-by: Xuanwo <github@xuanwo.io>
2023-03-24 07:14:38 +01:00
Sylvestre Ledru 056cc6727a
Add tests to verify that we work with cmake & autotools (#1678)
* ci: remove a useless command

* add a configure example

* add a cmake example

* Test with autotools & cmake in the CI
2023-03-22 18:49:30 +08:00
Sylvestre Ledru 0a6c099ac4 Try to test c++ support with both clang & gcc 2023-03-22 08:48:50 +01:00
Sylvestre Ledru f757c06371 remove trailing whitespaces 2023-03-22 08:48:50 +01:00
dependabot[bot] 40af44fedf build(deps): bump mime from 0.3.16 to 0.3.17
Bumps [mime](https://github.com/hyperium/mime) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/mime/releases)
- [Commits](https://github.com/hyperium/mime/compare/v0.3.16...v0.3.17)

---
updated-dependencies:
- dependency-name: mime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 20:02:10 +01:00
dependabot[bot] ee0e73e81f build(deps): bump futures from 0.3.26 to 0.3.27
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 20:01:58 +01:00
dependabot[bot] e59eb7a41d build(deps): bump tokio from 1.25.0 to 1.26.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 20:01:34 +01:00
Daniel 201317878a add codecov.yml and set threshold to 0.2%, prevent coverage getting worse 2023-03-21 13:23:49 +01:00
Xuanwo 2557e92d2e Bump MSRV to 1.64
Signed-off-by: Xuanwo <github@xuanwo.io>
2023-03-21 13:16:43 +01:00
Sylvestre Ledru 26e663489c update of the description 2023-03-21 13:16:27 +01:00
Sylvestre Ledru fcc6b9ef28 Version 0.4.0 2023-03-21 10:49:02 +01:00
dependabot[bot] 7272d5ca1b build(deps): bump anyhow from 1.0.68 to 1.0.70
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.68 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.68...1.0.70)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 10:25:42 +01:00
dependabot[bot] 4d76fbe2ea build(deps): bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 16:13:30 +01:00
dependabot[bot] 6786c90174 build(deps): bump libc from 0.2.139 to 0.2.140
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.139 to 0.2.140.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 16:13:18 +01:00
dependabot[bot] 49eb278bc0 build(deps): bump serde from 1.0.152 to 1.0.155
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.155.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.155)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 16:12:34 +01:00
Sylvestre Ledru 7e21d4b58e version v0.4.0-pre.11 2023-03-17 13:36:58 +01:00
Sylvestre Ledru 6cc6e8dc3d Link to the github action 2023-03-17 10:26:34 +01:00
Bernhard Schuster 098ab804ad always ignore a set of variables
Currently these variables are only ignored for a specific case
but it makes sense to retain that in the general case too.
2023-03-17 09:33:30 +01:00
Bernhard Schuster bc0718f059 migrate to ubuntu 22.04 for newly added ci check 2023-03-11 11:20:03 +01:00
Bernhard Schuster 82813c1d9a remove remainder cachepot and replace by sccache 2023-03-11 11:20:03 +01:00
Bernhard Schuster b9a57a329d amend to sccache 2023-03-11 11:20:03 +01:00
Igor Matuszewski 20a08fc079 Support running dist compilations in unprivileged scenarios (#128)
* WIP: Implement build sandboxing using unshared user namespaces

* Don't derive Debug when not needed

* Gate the new unshared user namespace behind CACHEPOT_SANDBOX env var

* Minimize diff

* Remove a trailing comma

* Clean up CI and temp. allow unprivileged dist tests to fail

* Simulate allow-failure in GHA

* ci: oops, GHA uses ! for negation

* Fetch gid correctly and use effective IDs to mimic `unshare`'s behavior

* WIP: See if GHA will be fixed now

* Warn if overlay build failed

* Actually, GHA using unprivileged user namespaces works!

* Revert .gitlab-ci.yml

Don't run relevant test in CI for now; we don't want to mark the test
suite as red in GH for the time being

* Address review feedback
2023-03-11 11:20:03 +01:00
Daniel 32bb8120cb Support emit pch header
While compiling pch file emited by cmake, flag --emit-pch and -x c++header should be handled
2023-03-11 11:19:15 +01:00
Jiahao XU 446d9c758a Add doc for feature vendored-openssl in README.md
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-03-11 11:18:50 +01:00
Jiahao XU 6be43e19fc Add doc for feature vendored-openssl
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-03-11 11:18:50 +01:00
Jiahao XU 86c77f3669 Update Cargo.lock
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-03-11 11:18:50 +01:00
Jiahao XU dca9df6421 Add new feature `vendored-openssl`
To build and use a vendored version of `openssl` for cases where the environment does not have openssl installed, e.g. in cross compilation.
2023-03-11 11:18:50 +01:00
Oliver Schneider 9a4149c1d0 Fixed ToC and added back Storage Options section
- Added sections not shown in the ToC.
- Fixed ToC to reproduce the same order as the actual sections.
- The README still referenced the no longer existing section "Storage
  Options". I added back that option with the same links as in the ToC.
2023-03-10 10:48:09 +01:00
Sylvestre Ledru 476cb8da23 version v0.4.0-pre.10 2023-03-10 09:08:35 +01:00
temportalflux 00bd5030e3 Add msvc response file integration test
Builds against windows and performs a series of compilation checks to ensure that the mock project builds and response files are properly expanded
2023-03-10 00:26:17 +01:00
temportalflux c33f78c22f Update MSVC compiler flags
Updated Flags:
- `/FC` ([previously marked as TooHardFlag](bf6fb5de6f)) changed to `PassThrough` because it only affects how the compiler prints debug information. [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/fc-full-path-of-source-code-file-in-diagnostics?view=msvc-170)

Added Flags, to allow users to pass "disable" feature flags which do not affect cachability:
- `/Gm-`, disable minimal rebuilds. [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=msvc-170)
- `/WX-`, disable "treat all compiler warnings as errors". [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level?view=msvc-170)
- `/openmp-`, disable the openmp directive. [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/openmp-enable-openmp-2-0-support?view=msvc-170)

Added Flags which enable features:
- `/permissive`, allows code which doesn't conform to standard, but doesnt change what needs to be compiled, just how the compiler does so. This is major for some legacy projects which are not up-to-date to standard conformance. [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170)

Also added a comment to `/Fp` to specify why it is not supported. `/Fp` is used to adjust PCH behaviors when used in conjunction with `/Yu` or `/Yc`. [flag docs](https://learn.microsoft.com/en-us/cpp/build/reference/fp-name-dot-pch-file?view=msvc-170)

Contributes to #978
2023-03-10 00:26:17 +01:00
temportalflux 2546b18a96 Implement Response File support in MSVC
Adds an iteration layer between the command-line argument iterator and the `ArgIter` used to compare arguments against the supported flags/options. This new layer determines if an option is a response-file directive (`@file`), and if it is, reads the options from the file before continuing to iterate over the command-line args. This requires an additional file-parsing iterating (`SplitArgs`) to split the file contents into arguments in a way which is consistent with the file format.

The `encoding` crate is used to read utf-8 (default encoding in rust) & utf-16 (big and little endian) encodings. The latter is used by `MSBuild` when generating response files.

Resources:
- [MSDN](https://docs.microsoft.com/en-us/cpp/build/reference/at-specify-a-compiler-response-file)
- [MSBuild](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-response-files?view=vs-2019)

Contributes to #107
Based off of #192
Closes #1082
Closes #1183
2023-03-10 00:26:17 +01:00
dependabot[bot] e3eefb3207 build(deps): bump url from 2.3.0 to 2.3.1
Bumps [url](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 17:38:00 +01:00
dependabot[bot] a8e9e518ba build(deps): bump daemonize from 0.4.1 to 0.5.0
Bumps [daemonize](https://github.com/knsd/daemonize) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/knsd/daemonize/releases)
- [Changelog](https://github.com/knsd/daemonize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knsd/daemonize/compare/0.4.1...0.5.0)

---
updated-dependencies:
- dependency-name: daemonize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 17:37:54 +01:00
dependabot[bot] e53407202d build(deps): bump serde_json from 1.0.93 to 1.0.94
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.94)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 17:37:48 +01:00
dependabot[bot] 938567bf99 build(deps): bump async-trait from 0.1.63 to 0.1.66
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.63 to 0.1.66.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.63...0.1.66)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 17:37:42 +01:00
dependabot[bot] 7b31eed562 build(deps): bump jobserver from 0.1.25 to 0.1.26
Bumps [jobserver](https://github.com/alexcrichton/jobserver-rs) from 0.1.25 to 0.1.26.
- [Release notes](https://github.com/alexcrichton/jobserver-rs/releases)
- [Commits](https://github.com/alexcrichton/jobserver-rs/compare/0.1.25...0.1.26)

---
updated-dependencies:
- dependency-name: jobserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 17:37:02 +01:00