Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
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
15 changes: 13 additions & 2 deletions 15 master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ class EmscriptenBuild(BaseBuild):
buildersuffix = ".emscripten"
factory_tags = ["emscripten"]

def setup(self, **kwargs):
def setup(self, *, branch, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def setup(self, *, branch, **kwargs):
def setup(self, **kwargs):

compile_environ = {
"PATH": os.pathsep.join([
"/home/emscripten/emsdk",
Expand All @@ -1365,10 +1365,21 @@ def setup(self, **kwargs):
env=compile_environ,
),
Compile(
name="Compile host libFFI",
name="Compile host libffi",
command=["python3", "Tools/wasm/emscripten", "make-libffi"],
env=compile_environ,
),
])
if branch != '3.14':
# Can enable on 3.14 if/when python/cpython#137066 is merged
self.addStep(
Compile(
name="Compile host libmpdec",
command=["python3", "Tools/wasm/emscripten", "make-mpdec"],
env=compile_environ,
)
)
self.addSteps([
Configure(
Comment on lines +1372 to 1383
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
])
if branch != '3.14':
# Can enable on 3.14 if/when python/cpython#137066 is merged
self.addStep(
Compile(
name="Compile host libmpdec",
command=["python3", "Tools/wasm/emscripten", "make-mpdec"],
env=compile_environ,
)
)
self.addSteps([
Configure(
Compile(
name="Compile host libmpdec",
command=["python3", "Tools/wasm/emscripten", "make-mpdec"],
env=compile_environ,
),
Configure(

name="Configure host Python",
command=["python3", "Tools/wasm/emscripten", "configure-host"],
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.