cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
714 stars 41 forks source link

Change variable specification method. #163

Closed veritas9872 closed 7 months ago

veritas9872 commented 9 months ago

Currently, variables such as PYTHONPATH are specified via PYTHONPATH=$EXTRA_PATH:$PYTHONPATH. However, this creates a dirty variable when PYTHONPATH is empty. Use the ${+$EXTRA_PATH} syntax for cleaner variables.