-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.template
24 lines (19 loc) · 1.16 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Template file for setting up environment variables for Lakeroad. We recommend
# copying this file to .env and filling in the following variables. Then, before
# developing with Lakeroad, you can run `source .env` to set up the environment.
# Lakeroad's tests depend on LLVM's lit and FileCheck tools. If lit and
# FileCheck are not on your PATH, then you can set the LLVM_CONFIG variable to
# the path to the llvm-config binary on your system, e.g.
# /usr/local/Cellar/llvm/17.0.6_1/bin/llvm-config on macOS with Homebrew.
export LLVM_CONFIG=
########################## DO NOT EDIT BELOW THIS LINE #########################
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# Set up path to Lakeroad.
export LAKEROAD_DIR="$SCRIPT_DIR"
# If lakeroad-private directory isn't empty, set up path to Lakeroad private.
# Note that we intentionally just use `ls` and not `ls -A`, to avoid getting
# tricked by hidden files e.g. .DS_Store on Mac. We could use git here, but I
# really don't love when scripts depend on git being available.
if [ -n "$(ls "$SCRIPT_DIR/lakeroad-private" )" ]; then
export LAKEROAD_PRIVATE_DIR="$SCRIPT_DIR/lakeroad-private"
fi