Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions recipes/quickjs/conda-forge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bot:
automerge: true
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
osx_arm64: osx_64
test: native_and_emulated
56 changes: 56 additions & 0 deletions recipes/quickjs/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
context:
version: "2025.09.13"
commit: f1139494d18a2053630c5ed3384a42bb70db3c53

package:
name: quickjs
version: ${{ version }}

source:
url: https://github.com/bellard/quickjs/archive/${{ commit }}.tar.gz
sha256: 0364fd5136857117c8204c2f0c203b71b25b9f025dc1a0605ea51f0fd7f92511

build:
number: 0
skip:
- win
script:
- make -j${CPU_COUNT} CC="${CC}" PREFIX="${PREFIX}"
- make test CC="${CC}"
- make install PREFIX="${PREFIX}"

requirements:
build:
- ${{ compiler('c') }}
- ${{ stdlib('c') }}
- make

tests:
- script:
- qjs -e "console.log('hello')"
- package_contents:
bin:
- qjs
- qjsc
include:
- quickjs/quickjs.h
- quickjs/quickjs-libc.h
files:
- lib/quickjs/libquickjs.a

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream is explicit about not supporting a shared build:

At this point I'm inclined to ignore it as I doubt it is going to matter.


about:
homepage: https://bellard.org/quickjs/
summary: A small and embeddable JavaScript engine
description: |
QuickJS is a small and embeddable JavaScript engine. It supports the
ES2023 specification including modules, asynchronous generators,
proxies and BigInt. It optionally supports mathematical extensions
such as big decimal floating point numbers (BigDecimal), big binary
floating point numbers (BigFloat) and operator overloading.
license: MIT
license_file: LICENSE
repository: https://github.com/bellard/quickjs

extra:
recipe-maintainers:
- chrisburr