-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (16 loc) · 778 Bytes
/
Makefile
File metadata and controls
16 lines (16 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: executable build-test-server
test: executable build-test-server
go test -v -parallel 500 #Tests have a lot of sleeps in them, not CPU bound
executable:
go build -o large-model-proxy
clean:
go clean
cd test-server
go clean
debian-package:
docker run --privileged --rm tonistiigi/binfmt --install arm64
docker buildx build --platform linux/amd64,linux/arm64 --tag large-model-proxy-ubuntu2404-build --load distro-packages/ubuntu24.04
docker run --rm -v .:/host --platform linux/amd64 large-model-proxy-ubuntu2404-build /host/distro-packages/ubuntu24.04/build.sh
docker run --rm -v .:/host --platform linux/arm64 large-model-proxy-ubuntu2404-build /host/distro-packages/ubuntu24.04/build.sh
build-test-server:
go build -o test-server/test-server test-server/main.go