Skip to content

Commit

Permalink
Bump deps/quickjs from 03cc5ec to 321dbfa (#56)
Browse files Browse the repository at this point in the history
* Bump deps/quickjs from `03cc5ec` to `321dbfa`

Bumps [deps/quickjs](https://github.com/buke/quickjs) from `03cc5ec` to `321dbfa`.
- [Commits](https://github.com/buke/quickjs/compare/03cc5ecc88f8534a5db5c911df4b712a21d08fb8...321dbfa770463b8867d8ac90493c7cec015a9c3a)

---
updated-dependencies:
- dependency-name: deps/quickjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update makefile

* Update QuickJS Static Library For Darwin (#59)

Co-authored-by: buke <buke@users.noreply.github.com>

* Update QuickJS Static Library For Linux & Windows (#60)

Co-authored-by: buke <buke@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wangbuke <wangbuke@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: buke <buke@users.noreply.github.com>
  • Loading branch information
4 people authored Dec 7, 2023
1 parent 1758b86 commit cd850f8
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ prefix=/usr/local
#CONFIG_PROFILE=y
# use address sanitizer
#CONFIG_ASAN=y
# include the code for BigInt/BigFloat/BigDecimal and math mode
# include the code for BigFloat/BigDecimal, math mode and faster large integers
CONFIG_BIGNUM=y

OBJDIR=.obj
Expand Down Expand Up @@ -169,11 +169,10 @@ endif

all: $(OBJDIR) $(OBJDIR)/quickjs.check.o $(OBJDIR)/qjs.check.o $(PROGS)

QJS_LIB_OBJS=$(OBJDIR)/quickjs.o $(OBJDIR)/libregexp.o $(OBJDIR)/libunicode.o $(OBJDIR)/cutils.o $(OBJDIR)/quickjs-libc.o
QJS_LIB_OBJS=$(OBJDIR)/quickjs.o $(OBJDIR)/libregexp.o $(OBJDIR)/libunicode.o $(OBJDIR)/cutils.o $(OBJDIR)/quickjs-libc.o $(OBJDIR)/libbf.o

QJS_OBJS=$(OBJDIR)/qjs.o $(OBJDIR)/repl.o $(QJS_LIB_OBJS)
ifdef CONFIG_BIGNUM
QJS_LIB_OBJS+=$(OBJDIR)/libbf.o
QJS_OBJS+=$(OBJDIR)/qjscalc.o
endif

Expand Down Expand Up @@ -320,10 +319,7 @@ endif
HELLO_SRCS=examples/hello.js
HELLO_OPTS=-fno-string-normalize -fno-map -fno-promise -fno-typedarray \
-fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy \
-fno-date -fno-module-loader
ifdef CONFIG_BIGNUM
HELLO_OPTS+=-fno-bigint
endif
-fno-date -fno-module-loader -fno-bigint

hello.c: $(QJSC) $(HELLO_SRCS)
$(QJSC) -e $(HELLO_OPTS) -o $@ $(HELLO_SRCS)
Expand Down
Binary file modified deps/libs/darwin_amd64/libquickjs.a
Binary file not shown.
Binary file modified deps/libs/darwin_arm64/libquickjs.a
Binary file not shown.
Binary file modified deps/libs/linux_amd64/libquickjs.a
Binary file not shown.
Binary file modified deps/libs/linux_arm64/libquickjs.a
Binary file not shown.
Binary file modified deps/libs/windows_386/libquickjs.a
Binary file not shown.
Binary file modified deps/libs/windows_amd64/libquickjs.a
Binary file not shown.
2 changes: 1 addition & 1 deletion deps/quickjs

0 comments on commit cd850f8

Please sign in to comment.