Unverified Commit 6c856b4f authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

minor: update Makefile for sgl-kernel (#3025)

parent 287d07a6
...@@ -14,6 +14,7 @@ concurrency: ...@@ -14,6 +14,7 @@ concurrency:
jobs: jobs:
build-wheels: build-wheels:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
......
.PHONY: tree ln submodule install build clean test format .PHONY: tree ln submodule install build clean test format
tree: tree:
@tree --prune -I "__pycache__|*.egg-info|*.so|build" @tree --prune -I "__pycache__|*.egg-info|*.so|build|3rdparty|dist"
submodule: submodule:
@git submodule update --init --recursive @git submodule update --init --recursive
...@@ -19,7 +19,7 @@ clean: ...@@ -19,7 +19,7 @@ clean:
@rm -rf build dist *.egg-info @rm -rf build dist *.egg-info
test: test:
@pytest tests/ @find tests -name "test_*.py" | xargs -n 1 python3
format: format:
@find src tests -name '*.cc' -o -name '*.cu' -o -name '*.cuh' -o -name '*.h' -o -name '*.hpp' | xargs clang-format -i && find src tests -name '*.py' | xargs isort && find src tests -name '*.py' | xargs black @find src tests -name '*.cc' -o -name '*.cu' -o -name '*.cuh' -o -name '*.h' -o -name '*.hpp' | xargs clang-format -i && find src tests -name '*.py' | xargs isort && find src tests -name '*.py' | xargs black
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