Spaces:
Runtime error
Runtime error
Download Makefile from XDimLab/ICCV2025-RealADSim-ClosedLoop: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/resolve/main/Makefile
- Command line
-
hf download hf://spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/resolve/main/Makefile
699 Bytes
| CFLAGS += -std=c99 -Wall -O2 | |
| LDFLAGS += -lseccomp | |
| .PHONY: quality style test | |
| quality: | |
| python -m black --check --line-length 119 --target-version py38 . | |
| python -m isort --check-only . | |
| python -m flake8 --max-line-length 119 | |
| style: | |
| python -m black --line-length 119 --target-version py38 . | |
| python -m isort . | |
| docker: | |
| docker build -t competitions:latest . | |
| docker tag competitions:latest huggingface/competitions:latest | |
| docker push huggingface/competitions:latest | |
| test: | |
| pytest -sv . | |
| sandbox: sandbox.c | |
| gcc $(CFLAGS) $^ -o $@ $(LDFLAGS) | |
| clean: | |
| rm *.so sandbox | |
| pip: | |
| rm -rf build/ | |
| rm -rf dist/ | |
| make style && make quality | |
| python setup.py sdist bdist_wheel | |
| twine upload dist/* --verbose | |