Skip to content

Commit

Permalink
Use build dir; add to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jul 20, 2024
1 parent 7e26a1f commit d3c8cb8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ docs/_build/
dist/
target/
venv/
llvm/
__pycache__/
16 changes: 11 additions & 5 deletions docs/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,17 @@ Common configurations include:
A debug build. No optimizations.

The archive flavor denotes the content in the archive. See
:ref:`distributions` for more. Casual users will likely want to use the
``install_only`` archive, as most users do not need the build artifacts
present in the ``full`` archive. The ``install_only`` archive doesn't
include the build configuration in its file name. It's based on the fastest
available build configuration for a given target.
:ref:`distributions` for more.

Casual users will likely want to use the ``install_only`` archive, as most
users do not need the build artifacts present in the ``full`` archive.
The ``install_only`` archive doesn't include the build configuration in its
file name. It's based on the fastest available build configuration for a given
target.

An ``install_only_stripped`` archive is also available. This archive is
equivalent to ``install_only``, but without debug symbols, which results in a
smaller download and on-disk footprint.

Extracting Distributions
========================
Expand Down
2 changes: 1 addition & 1 deletion src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ pub async fn bootstrap_llvm() -> Result<PathBuf> {
let url = &*LLVM_URL;
let filename = url.path_segments().unwrap().last().unwrap();

let llvm_dir = PathBuf::from("llvm");
let llvm_dir = Path::new("build").join("llvm");

// If `llvm` is already available with the target version, return it.
if llvm_dir.join(filename).exists() {
Expand Down

0 comments on commit d3c8cb8

Please sign in to comment.