Unverified Commit eabbbbda authored by Vallepu Vamsi Krishna's avatar Vallepu Vamsi Krishna Committed by GitHub
Browse files

Add Directory Check to Prevent Redundant Cloning in Build Process (#2486)

Update Makefile-fbgemm

Added Directory check for FBGEMM repository cloning.
parent c1fe28d6
fbgemm_commit := v0.8.0 fbgemm_commit := v0.8.0
build-fbgemm: build-fbgemm:
git clone https://github.com/pytorch/FBGEMM.git fbgemm && \ @if [ ! -d "fbgemm" ]; then \
git clone https://github.com/pytorch/FBGEMM.git fbgemm; \
fi
cd fbgemm && git fetch && git checkout $(fbgemm_commit) && \ cd fbgemm && git fetch && git checkout $(fbgemm_commit) && \
git submodule update --init --recursive && \ git submodule update --init --recursive && \
cd fbgemm_gpu && \ cd fbgemm_gpu && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment