Skip to content

Commit

Permalink
No path randomization to have better caching with ccache (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekazakov authored Jan 22, 2024
1 parent 096917a commit 083893c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Scripts/build_unsigned.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export LC_CTYPE=en_US.UTF-8
# get current directory
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# allocate a temp dir for build artifacts
BUILD_DIR=$(mktemp -d ${SCRIPTS_DIR}/build_unsigned.tmp)
# allocate a dir for build artifacts
BUILD_DIR="${SCRIPTS_DIR}/build_unsigned.tmp"
mkdir "${BUILD_DIR}"

# all builds paths will be relative to ROOT_DIR
ROOT_DIR=$(cd "$SCRIPTS_DIR/.." && pwd)
Expand Down
5 changes: 3 additions & 2 deletions Scripts/run_all_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export LC_CTYPE=en_US.UTF-8
# get current directory
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# allocate a temp dir for build artifacts
BUILD_DIR=$(mktemp -d ${SCRIPTS_DIR}/build.XXXXXXXXX)
# allocate a dir for build artifacts
BUILD_DIR="${SCRIPTS_DIR}/run_all_unit_tests.tmp"
mkdir "${BUILD_DIR}"

ROOT_DIR=$(cd "$SCRIPTS_DIR/.." && pwd)

Expand Down

0 comments on commit 083893c

Please sign in to comment.