From 7335e6b9ad6b59d33dde7a9488d819446450380b Mon Sep 17 00:00:00 2001 From: Chris Manchester Date: Wed, 19 Feb 2020 18:24:25 +0000 Subject: [PATCH] Bug 1578493 - Don't use ~ in doc examples where tilde expansion no longer occurs. r=dmajor Differential Revision: https://phabricator.services.mozilla.com/D63357 --HG-- extra : moz-landing-system : lando --- build/docs/sccache-dist.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build/docs/sccache-dist.rst b/build/docs/sccache-dist.rst index 8da33fbe1a6c..b69e3f74dc95 100644 --- a/build/docs/sccache-dist.rst +++ b/build/docs/sccache-dist.rst @@ -77,7 +77,7 @@ must read:: `this file `_. For instance, to specify 1.37.0 rather than the current stable, run ``rustup toolchain add 1.37.0`` and point to - ``~/.rustup/toolchains/1.37.0-x86_64-apple-darwin/bin/rustc`` in your + ``/path/to/home/.rustup/toolchains/1.37.0-x86_64-apple-darwin/bin/rustc`` in your client config. The build system currently requires an explicit target to be passed with @@ -89,12 +89,12 @@ must read:: * Compiling from a Windows client is supported but hasn't seen as much testing as other platforms. The following example mozconfig can be used as a guide:: - ac_add_options CCACHE=~/.mozbuild/sccache/sccache.exe + ac_add_options CCACHE=/path/to/home/.mozbuild/sccache/sccache.exe - export CC="~/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" - export CXX="~/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" - export HOST_CC="~/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" - export HOST_CXX="~/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" + export CC="/path/to/home/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" + export CXX="/path/to/home/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" + export HOST_CC="/path/to/home/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" + export HOST_CXX="/path/to/home/.mozbuild/clang/bin/clang-cl.exe --driver-mode=cl" The client config should be located at ``~/AppData/Roaming/Mozilla/sccache/config/config``, and as on macOS custom @@ -115,7 +115,7 @@ must read:: * Add the following to your mozconfig:: - ac_add_options CCACHE=/path/to/sccache + ac_add_options CCACHE=/path/to/home/.mozbuild/sccache/sccache If you're compiling from a macOS client, you might need some additional configuration::