diff options
author | 2021-10-01 22:41:59 -0700 | |
---|---|---|
committer | 2021-10-01 22:41:59 -0700 | |
commit | ac7a96b088bce9e9703e6501a0546357b3a33faf (patch) | |
tree | 750c154060dcc470f8bd7221e9a178e7a37d2f11 /README.md | |
parent | 6932f3d5437e581f4add19661299f9ad503736ca (diff) | |
download | bun-ac7a96b088bce9e9703e6501a0546357b3a33faf.tar.gz bun-ac7a96b088bce9e9703e6501a0546357b3a33faf.tar.zst bun-ac7a96b088bce9e9703e6501a0546357b3a33faf.zip |
Add support for INotify-based filesystem watcher
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 5 insertions, 26 deletions
@@ -574,6 +574,8 @@ For compatibiltiy reasons, these NPM packages are embedded into Bun's binary and Estimated: 30-90 minutes :( +## macOS + Compile Zig: ```bash @@ -590,9 +592,6 @@ In `bun`: ```bash git submodule update --init --recursive --progress --depth=1 make vendor -zig build headers -make jsc-bindings-mac -zig build -Drelease-fast ``` Note that `brew install zig` won't work. Bun uses a build of Zig with a couple patches. @@ -601,27 +600,7 @@ Additionally, you'll need `cmake`, `npm` and `esbuild` installed globally. ## Linux -You will need: - -- `clang-12` (clang-13 after next Zig upgrade) -- ruby (JavaScriptCore dependency) - -On Ubuntu: - -``` -sudo apt install libc++-12-dev libc++1-12 libc++abi1-12 build-essential -``` - -If you **do not** have this setup correctly, you will see an error that looks something like this after compiling JavaScriptCore: - -```c -src/javascript/jsc/WebKit/WebKitBuild/Release/WTF/Headers/wtf/FastMalloc.h:23:10: fatal error: 'new' file not found -#include <new> - ^~~~~ -1 error generated. +```bash +git submodule update --init --recursive --progress --depth=1 +make vendor ``` - - -When trying to run `make jsc` (run during `make vendor`), if you get an error complaining about Ruby missing but you have Ruby installed, it might mean your Ruby installation is corrupt. - -Verify that `ruby -v` runs without error.
\ No newline at end of file |