summaryrefslogtreecommitdiff
path: root/maint/reproducible_build
Commit message (Collapse)AuthorAgeFilesLines
* Note a lingering mystery in reproduible_buildNick Mathewson2025-05-071-0/+3
|
* Remove MSRV-1.77 workarounds in reproducible_build script.Nick Mathewson2025-05-071-13/+0
| | | | | Since it's using 1.86 now, there's no reason to downgrade these packages.
* reproducible_build: use osxcross darwin linker with stdc++Nick Mathewson2025-05-071-1/+1
| | | | | | | | | | | | | After upgrading to rust:1.86.0-alpine3.21, we got a new error: ``` osxcross: error: cannot find libc++ headers ``` To fix this, we change the linker to `x86_64-apple-darwin16-clang++-stdc++`. This invokes some osxcross magic that tells it to find the C++ headers in the stdc++ location... and possibly more.
* reproducible_build: downgrade to crunchy 0.2.2Nick Mathewson2025-04-281-0/+7
| | | | | This is a workaround for https://github.com/eira-fransham/crunchy/pull/17
* Enable --features=full on reproducible builds.Nick Mathewson2025-04-281-1/+1
| | | | | | | | | | We generally recommend that people build with --features=full IRL, so this better matches what we're hoping they come up with. Additionally, it will help cases like #1964, where packagers would like to use reproducible builds as inputs to their own packages. Closes #1964
* maint/reproducible_build: Downgrade base64ct.Gabriela Moldovan2025-03-271-0/+1
| | | | | This is a workaround for https://gitlab.torproject.org/tpo/core/arti/-/issues/1335
* maint: downgrade dependencies in 'reproducible_build' scriptSteven Engler2025-02-271-0/+12
| | | | | This is a workaround for https://gitlab.torproject.org/tpo/core/arti/-/issues/1335
* Explicitly specify the deployment target of macOS to 10.7.Alexander Færøy2024-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osxcross tries in various ways to detect which version of the compiler we have, which version of the OS, which C++ standard library we use, and many other things. With this variable set, osxcross seems able to detect the environment provided by the SDK that we use. The error messages from osxcross is as follows: osxcross: error: cannot find libc++ headers osxcross: error: while detecting target This origins from its internal target detection code in target.cpp of osxcross. This file contains a signficant amount of the detection for paths of different versions of the macOS SDK's and macOS versions. All of this is truly cursed. In osxcross's main.cpp, the variable is read in: if (char *p = getenv("MACOSX_DEPLOYMENT_TARGET")) { target.OSNum = parseOSVersion(p); unsetenv("MACOSX_DEPLOYMENT_TARGET"); } and setting it thus forces the OS version to be parsed from the variable instead of its (in our case failed) attempt at detecting the version itself. Fixes: tpo/core/arti#1394
* fix macos reproducible buildstrinity-1686a2023-04-161-1/+1
|
* shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-251-1/+1
| | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* use newer version of zstd and lzmatrinity-1686a2022-11-291-6/+0
|
* maint/reproducible_build: Pass --locked to cargo buildIan Jackson2022-09-061-1/+1
| | | | We don't want any updates!
* maint/reproducible_build: Honour $CARGOIan Jackson2022-09-061-1/+4
| | | | This makes it easier to test, and perform other kinds of stunts.
* maint/reproducible_build: Centralise -p arti --features etc.Ian Jackson2022-09-061-3/+6
|
* maint/reproducible_build: Bring "cargo build" invocations togetherIan Jackson2022-09-061-3/+7
|
* make almost all scripts use bash and set euo pipefailtrinity-1686a2022-05-251-2/+4
|
* fix reproducible build summary giving invalid branch and commit idtrinity-1686a2022-03-041-0/+1
| | | | | fix #378 also fix unrelated error in nightly rustdoc CI
* rename *.sh scripts to bare nameIan Jackson2022-02-181-0/+110
As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.