Use closure names, not ids for CreateCl
[hiphop-php.git] / hphp / hack / dev_env_common.sh.in
blob722edb6f00b8ec82b06be2c2721e92b1b64564e6
1 #!/bin/sh
2 # Copyright (c) 2019, Facebook, Inc.
3 # All rights reserved.
5 # This source code is licensed under the MIT license found in the
6 # LICENSE file in the "hack" directory of this source tree.
8 # Do not use this file directly - either use dev_env.sh or dev_env_rust_only.sh
10 export CMAKE_SOURCE_DIR="@CMAKE_SOURCE_DIR@"
11 export CMAKE_INSTALL_FULL_SYSCONFDIR="@CMAKE_INSTALL_FULL_SYSCONFDIR@"
12 export CMAKE_INSTALL_FULL_BINDIR="@CMAKE_INSTALL_FULL_BINDIR@"
14 export HACK_NO_CARGO_VENDOR=true
15 export OPAMROOT="@OPAMROOT@"
16 export PYTHONPATH="@HPHP_HOME@" # needed for verify.py for `hack_dune_test`
17 export CARGO_HOME="@CARGO_HOME@"
18 export CMAKE_BINARY_DIR="@CMAKE_BINARY_DIR@"
19 export RUSTC="@RUSTC_BIN_DIR@/rustc"
20 export DUNE_BUILD_DIR="@DUNE_BUILD_DIR@"
21 export HACK_SOURCE_ROOT="@CMAKE_CURRENT_SOURCE_DIR@"
22 export HACK_BUILD_ROOT="@HACK_BUILD_ROOT@"
23 export HACK_BIN_DIR="@CMAKE_BINARY_DIR@/hphp/hack/bin"
24 export PATH="@RUSTC_BIN_DIR@:@CARGO_BIN_DIR@:$(dirname "@OPAM_EXECUTABLE@"):$PATH"
26 export HACK_EXTRA_INCLUDE_PATHS="@extra_include_paths@"
27 export HACK_EXTRA_LINK_OPTS="@extra_link_opts@"
28 export HACK_EXTRA_LIB_PATHS="@extra_lib_paths@"
29 export HACK_EXTRA_NATIVE_LIBRARIES="@extra_native_libraries@"