Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro committed Jul 28, 2023
1 parent 6d3828d commit 48df80e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions config/config.linux
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ function get_build_configs() {
BUILD_CONFIGS="FF_CUDA_ARCH=${FF_CUDA_ARCH} CUDNN_DIR=${CUDNN_DIR} CUDA_DIR=${CUDA_DIR} NCCL_DIR=${NCCL_DIR} FF_USE_PYTHON=${FF_USE_PYTHON} FF_GASNET_CONDUIT=${FF_GASNET_CONDUIT} FF_UCX_URL=${FF_UCX_URL} FF_LEGION_NETWORKS=${FF_LEGION_NETWORKS} FF_BUILD_ALL_EXAMPLES=${FF_BUILD_ALL_EXAMPLES} FF_BUILD_UNIT_TESTS=${FF_BUILD_UNIT_TESTS} FF_USE_PREBUILT_NCCL=${FF_USE_PREBUILT_NCCL} FF_USE_PREBUILT_LEGION=${FF_USE_PREBUILT_LEGION} FF_USE_ALL_PREBUILT_LIBRARIES=${FF_USE_ALL_PREBUILT_LIBRARIES} FF_USE_AVX2=${FF_USE_AVX2} FF_MAX_DIM=${FF_MAX_DIM} ROCM_PATH=${ROCM_PATH} FF_GPU_BACKEND=${FF_GPU_BACKEND}"
}

if [ -n "$1" ]; then
if [ "$1" != "get-docker-configs" ]; then
. $(dirname $0)/config.inc
# You can pass the name of the variable you want to print out as $1. This
# is used in the python setup script to get the cmake config
echo "${!1}"
fi
if [ -n "$1" ] && [ "$1" != "get-docker-configs" ]; then
. $(dirname $0)/config.inc
# You can pass the name of the variable you want to print out as $1. This
# is used in the python setup script to get the cmake config
echo "${!1}"
else
. $(dirname $0)/config.inc
run_cmake $*
Expand Down

0 comments on commit 48df80e

Please sign in to comment.