GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cpython: use llvm native version for native compilation · faasm/python@66fdd6e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tasks
    • cpython.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tasks/cpython.py‎

Copy file name to clipboardExpand all lines: tasks/cpython.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
get_faasm_build_env_dict
66
)
77
from faasmtools.compile_util import wasm_cmake, wasm_copy_upload
8-
from faasmtools.env import LLVM_VERSION, WASM_DIR
8+
from faasmtools.env import LLVM_NATIVE_VERSION, WASM_DIR
99
from invoke import task
1010
from os import environ, makedirs
1111
from os.path import join, exists
@@ -189,13 +189,13 @@ def native(ctx, clean=False):
189189
run("wget {}".format(tar_url), shell=True, check=True, cwd=workdir)
190190
run("tar -xf {}".format(tar_name), shell=True, check=True, cwd=workdir)
191191

192-
llvm_version_major = LLVM_VERSION.split(".")[0]
192+
llvm_native_version_major = LLVM_NATIVE_VERSION.split(".")[0]
193193
workdir = join(workdir, PYTHON_VERSION)
194194
native_configure_cmd = [
195-
'CC="clang-{}"'.format(llvm_version_major),
196-
'CXX="clang++-{}"'.format(llvm_version_major),
195+
'CC="clang-{}"'.format(llvm_native_version_major),
196+
'CXX="clang++-{}"'.format(llvm_native_version_major),
197197
'CFLAGS="-O3 -DANSI"',
198-
'LD="clang-{}"'.format(llvm_version_major),
198+
'LD="clang-{}"'.format(llvm_native_version_major),
199199
"./configure",
200200
"--prefix={}".format(PYTHON_INSTALL_DIR),
201201
]

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.