WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 5a1596ad authored by John Zhang's avatar John Zhang
Browse files

set eci in platform.execute so to eliminate the need for setting (DY)LD_LIBRARY_PATH

parent 2c5ff1c7
......@@ -103,7 +103,7 @@ testjit:rpython:
- git checkout mu-rewrite-zebu-no-binop-with-flag
- git apply pypy.patch
- cd $CI_PROJECT_DIR/tests/test_jit
- RUST_BACKTRACE=1 LD_LIBRARY_PATH=. PYTHONPATH=mu-client-pypy MU_ZEBU=$CI_PROJECT_DIR pytest test_rpython*.py -v
- RUST_BACKTRACE=1 PYTHONPATH=mu-client-pypy MU_ZEBU=$CI_PROJECT_DIR pytest test_rpython*.py -v
cache:
key: "$CI_BUILD_STAGE/$CI_BUILD_REF_NAME"
paths:
......
......@@ -998,12 +998,13 @@ def run_boot_image(entry, output, has_c_main_sig = False, args = []):
t.driver.standalone = True # force standalone
t.driver.exe_name = output
t.compile_mu()
exe = py.path.local(output + '.mu')
db, mugen, epf_name = t.compile_mu()
exe = py.path.local(output)
# zebu
exe.chmod(stat.S_IRWXU)
res = platform.execute(str(exe), args)
eci = rffi.ExternalCompilationInfo(library_dirs=[str(db.libsupport_path.dirpath())])
res = platform.execute(str(exe), args, compilation_info=eci)
return res
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment