Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spidermonkey 115.4.0esr #11

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
59e39e4
spidermonkey 115.0.3
bollwyvl Aug 24, 2023
2fcbfbb
MNT: Re-rendered with conda-build 3.26.1, conda-smithy 3.24.1, and co…
Aug 24, 2023
def13f4
more icu
bollwyvl Aug 24, 2023
78fda84
bump MACOSX_SDK_VERSION
bollwyvl Aug 24, 2023
b7bbe2d
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.24.1, and co…
bollwyvl Aug 24, 2023
90873de
move icu to conda_build_config.yaml
bollwyvl Aug 24, 2023
fffa19d
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.24.1, and co…
bollwyvl Aug 24, 2023
6e2eaaa
try highest value seen in the wild
bollwyvl Aug 24, 2023
f2d0470
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.24.1, and co…
bollwyvl Aug 24, 2023
a8e1e7d
update osx sdk
bollwyvl Sep 25, 2023
b7db0c4
merge upstream
bollwyvl Sep 25, 2023
6e884e5
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.26.2, and co…
bollwyvl Sep 25, 2023
1bab940
bump to latest esr
bollwyvl Sep 25, 2023
4741b87
add lld for osx
bollwyvl Oct 28, 2023
5925a09
also try mold
bollwyvl Oct 28, 2023
96f3b52
update to latest lts
bollwyvl Oct 28, 2023
a9aa4ce
remove mold
bollwyvl Oct 30, 2023
cb65640
try more flags for bindgen
bollwyvl Oct 30, 2023
b98f245
move icu flag to flag env var
bollwyvl Oct 30, 2023
42ee2bd
disable parallel building for now
bollwyvl Oct 30, 2023
d6637b7
try more flags
bollwyvl Oct 30, 2023
93661eb
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.27.1, and co…
bollwyvl Oct 30, 2023
848e954
more flags, remove nspr
bollwyvl Oct 30, 2023
ec350d9
MNT: Re-rendered with conda-build 3.25.0, conda-smithy 3.27.1, and co…
bollwyvl Oct 30, 2023
57b41f3
set PKG_CONFIG env var
bollwyvl Oct 30, 2023
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
6 changes: 3 additions & 3 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.12'
MACOSX_SDK_VERSION:
- '10.12'
- '13.3'
c_compiler:
- clang
c_compiler_version:
- '15'
- '16'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '15'
- '16'
icu:
- '73'
macos_machine:
Expand Down
9 changes: 4 additions & 5 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/logging_utils.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 16 additions & 10 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export LIBXUL_DIST=$out
export M4=m4
export AWK=awk
export LLVM_OBJDUMP=objdump
export PKG_CONFIG=${BUILD_PREFIX}/bin/pkg-config
export CPPFLAGS="-D__STDC_FORMAT_MACROS $CPPFLAGS"

cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
Expand All @@ -10,17 +11,22 @@ mkdir obj
cd obj/
python ../configure.py \
--prefix=$PREFIX \
--enable-project=js \
--disable-ctypes \
--disable-jit \
--disable-jemalloc \
--enable-optimize \
--enable-hardening \
--with-intl-api \
--build-backends=RecursiveMake \
--with-system-icu \
--disable-bootstrap \
--disable-debug \
--disable-debug-symbols \
--disable-install-strip \
--disable-jemalloc \
--disable-jit \
--enable-gczeal \
--enable-hardening \
--enable-optimize="${CFLAGS} -O2" \
--enable-project=js \
--enable-release \
--enable-rust-simd \
--enable-shared-js \
--enable-strip \
--disable-install-strip
make -j$CPU_COUNT
--with-intl-api \
--without-system-icu \
--with-system-zlib
make # TOOD: restore -j$CPU_COUNT
5 changes: 4 additions & 1 deletion recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html#supported-sdks
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "10.12" # [osx and x86_64]
MACOSX_SDK_VERSION: # [osx and x86_64]
- "10.12" # [osx and x86_64]
- "13.3" # [osx and x86_64]
icu:
- "73"
24 changes: 13 additions & 11 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{% set name = "spidermonkey" %}
{% set version = "91.13.0" %}
{% set version = "115.4.0" %}
{% set majorversion = version.split('.')[0] %}

package:
name: {{ name|lower }}
name: spidermonkey
version: {{ version }}

source:
url: https://releases.mozilla.org/pub/firefox/releases/{{ version }}esr/source/firefox-{{ version }}esr.source.tar.xz
sha256: 53be2bcde0b5ee3ec106bd8ba06b8ae95e7d489c484e881dfbe5360e4c920762
patches:
- 0000-fix-config.patch
- 0001-va-args.patch
sha256: c31fdbf3a31b09f91b39fe45e084599a25f9644d3a615f263ac10189cd42ae59
# patches:
# - 0000-fix-config.patch
# - 0001-va-args.patch

build:
skip: true # [win]
number: 2
number: 0
run_exports:
- {{ pin_subpackage('spidermonkey', max_pin='x') }}
script_env:
Expand All @@ -27,14 +26,14 @@ requirements:
- {{ compiler('cxx') }}
- {{ compiler('rust') }}
- cargo-bundle-licenses
- pkg-config
- lld # [osx]
- m4
- make
- python >=3.7,<3.11
- perl >=5
- pip
- pkg-config
host:
- icu
- zlib

outputs:
Expand Down Expand Up @@ -67,14 +66,17 @@ outputs:
- test ! -f $PREFIX/include/mozjs-{{ majorversion }}/jsapi.h # [unix]

about:
home: https://spidermonkey.dev/
home: https://spidermonkey.dev
summary: Mozilla's JavaScript engine written in C/C++
license: MPL-2.0
license_family: MOZILLA
license_file:
- THIRDPARTY.yml
- LICENSE
- toolkit/content/license.html
dev_url: https://hg.mozilla.org/mozilla-central/file/tip/js
doc_url: https://spidermonkey.dev/docs


extra:
recipe-maintainers:
Expand Down
Loading