Skip to content

Commit

Permalink
Add CPU_INFO_FLAGS for Apple Silicon
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Oct 10, 2024
1 parent a4ae440 commit 4c76685
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 1 deletion.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified .whitesource
100755 → 100644
Empty file.
Empty file modified CODE_OF_CONDUCT.md
100755 → 100644
Empty file.
Empty file modified CONTRIBUTING.md
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ ifeq ($(UNAME),Linux)
CPU_INFO_FLAGS := $(eval CPU_INFO_FLAGS := $(shell cat /proc/cpuinfo | grep flags | cut -d " " -f 2- | head -1))$(CPU_INFO_FLAGS)
CORES := $(eval CORES := $(shell nproc 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null))$(CORES)
else ifeq ($(UNAME),Darwin)
CPU_INFO_FLAGS := ""
CPU_INFO_FLAGS := $(eval CPU_INFO_FLAGS := $(shell sysctl -n machdep.cpu.brand_string 2>/dev/null || echo "Apple Silicon"))$(CPU_INFO_FLAGS)
CORES := $(eval CORES := $(shell sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null))$(CORES)
else
CPU_INFO_FLAGS := ""
Expand Down
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified charts/vald/.helmignore
100755 → 100644
Empty file.
Empty file modified charts/vald/templates/_helpers.tpl
100755 → 100644
Empty file.
Empty file modified cmd/filter/egress/.gitkeep
100755 → 100644
Empty file.
Empty file modified cmd/filter/ingress/.gitkeep
100755 → 100644
Empty file.
Empty file modified design/Vald Architecture Overview.drawio
100755 → 100644
Empty file.
Empty file modified pkg/discoverer/k8s/README.md
100755 → 100644
Empty file.
Empty file modified pkg/filter/egress/.gitkeep
100755 → 100644
Empty file.
Empty file modified pkg/filter/ingress/.gitkeep
100755 → 100644
Empty file.
Empty file modified pkg/gateway/filter/README.md
100755 → 100644
Empty file.
Empty file modified pkg/gateway/lb/README.md
100755 → 100644
Empty file.
Empty file modified pkg/gateway/mirror/README.md
100755 → 100644
Empty file.
Empty file modified renovate.json
100755 → 100644
Empty file.

0 comments on commit 4c76685

Please sign in to comment.