7 Commits

Author SHA1 Message Date
bcallah
5c327e456f Update to quickjs-2020.09.06
A full changelog is here: https://bellard.org/quickjs/Changelog
From gkoehler@, who also tested it on macppc and powerpc64!
2020-09-23 15:37:32 +00:00
cwen
7baac29ca2 quickjs, stockfish: don't require `-latomic' anymore on powerpc, since
this arch has been switched to clang

No objection from bcallah@ (maintainer)
2020-04-06 20:24:53 +00:00
jca
eaf409c2ea Unbreak non-amd64: check __LP64__ to detect 64 bits host OS
This fixes pointer truncation on sparc64 and probably mips64.
Bump REVISION since quickjs previously built on arm64 but with
different bignum sizing.

ok cwen@ bcallah@ (maintainer)
2020-01-15 14:30:50 +00:00
jca
22c0aa1bff Big endian fix: detect endianness using endian.h
ok cwen@ bcallah@ (maintainer)
2020-01-15 14:25:46 +00:00
jca
a697628a29 Fix linking on powerpc and hppa (needs -latomic)
from cwen@, ok bcallah@ (maintainer)
2020-01-15 14:24:23 +00:00
jca
183c09a80a Reorder to match Makefile.template
ok cwen@ bcallah@ (maintainer)
2020-01-15 14:23:28 +00:00
bcallah
f927ef7855 Import lang/quickjs, a small, embeddable JavaScript engine in C.
ok fcambus@, who independently developed a very similar port of this

QuickJS is a small and embeddable JavaScript engine. It supports the
ES2020 specification including modules, asynchronous generators and
proxies.

It optionally supports mathematical extensions such as big integers
(BigInt), big floating point numbers (BigFloat) and operator
overloading.
2019-12-21 14:24:03 +00:00