aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Luke Deen Taylor <luke@deentaylor.com> 2023-02-16 03:01:41 -0500
committerGravatar GitHub <noreply@github.com> 2023-02-16 00:01:41 -0800
commit37fafc208f59b46de3876ef535fea7551fc65241 (patch)
tree350093d365a9ddc4ba1a51c1036bb719d7162fd2
parent88a8aa479791301a988739ba978d3745232ef20e (diff)
downloadbun-37fafc208f59b46de3876ef535fea7551fc65241.tar.gz
bun-37fafc208f59b46de3876ef535fea7551fc65241.tar.zst
bun-37fafc208f59b46de3876ef535fea7551fc65241.zip
Clarify and clean up macOS build process (#2087)
* Add missing steps to macOS build * Remove codesigning step from make dev ref: https://discord.com/channels/876711213126520882/888839314056839309/1075681626127872030
-rw-r--r--Makefile2
-rw-r--r--README.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b9f15715c..e0b1a8635 100644
--- a/Makefile
+++ b/Makefile
@@ -1083,7 +1083,7 @@ dev-obj-linux:
$(ZIG) build obj -Dtarget=x86_64-linux-gnu
.PHONY: dev
-dev: mkdir-dev dev-obj bun-link-lld-debug bun-codesign-debug
+dev: mkdir-dev dev-obj bun-link-lld-debug
mkdir-dev:
mkdir -p $(DEBUG_PACKAGE_DIR)/bin
diff --git a/README.md b/README.md
index e0917320b..5a698426a 100644
--- a/README.md
+++ b/README.md
@@ -5142,10 +5142,9 @@ On fish that looks like `fish_add_path (brew --prefix llvm@15)/bin`
#### Install Zig (macOS)
-Install the latest version of Zig via Homebrew:
-
+Install the version of Zig referenced in the [`Dockerfile`](./Dockerfile) using [zigup](https://github.com/marler8997/zigup). For example:
```bash
-brew install zig --head
+zigup 0.11.0-dev.1393+38eebf3c4
```
#### Build bun (macOS)
@@ -5155,6 +5154,7 @@ One-off command to run:
```bash
# If you omit --depth=1, `git submodule update` will take 17.5 minutes on 1gbps internet, mostly due to WebKit.
git submodule update --init --recursive --progress --depth=1 --checkout
+bun install
make vendor identifier-cache webcrypto-debug
```