mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
[internal] Makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -325,7 +325,7 @@ vendor-without-check: api analytics node-fallbacks runtime_js fallback_decoder b
|
||||
libarchive:
|
||||
cd src/deps/libarchive; \
|
||||
(make clean || echo ""); \
|
||||
./build/clean.sh; \
|
||||
(./build/clean.sh || echo ""); \
|
||||
./build/autogen.sh; \
|
||||
./configure --disable-shared --enable-static --with-pic --disable-bsdtar --disable-bsdcat --disable-rpath --enable-posix-regex-lib --without-xml2 --without-expat --without-openssl --without-iconv --without-zlib; \
|
||||
make -j${CPUS}; \
|
||||
|
||||
@@ -915,7 +915,7 @@ Estimated: 30-90 minutes :(
|
||||
Install LLVM 12 and homebrew dependencies:
|
||||
|
||||
```bash
|
||||
brew install llvm@12 coreutils libtool cmake libiconv automake openssl@1.1 ninja
|
||||
brew install llvm@12 coreutils libtool cmake libiconv automake openssl@1.1 ninja gnu-sed
|
||||
```
|
||||
|
||||
Bun (& the version of Zig) need LLVM 12 and Clang 12 (clang is part of LLVM). Weird build & runtime errors will happen otherwise.
|
||||
@@ -951,7 +951,7 @@ In `bun`:
|
||||
|
||||
```bash
|
||||
git submodule update --init --recursive --progress --depth=1
|
||||
make vendor dev
|
||||
make vendor jsc identifier-cache dev
|
||||
```
|
||||
|
||||
Verify it worked:
|
||||
|
||||
Reference in New Issue
Block a user