Skip to content

Commit 710b8fd

Browse files
authored
Merge pull request #133 from bedroge/ucx_remove_sysroot
Disable `--with-sysroot` option for UCX
2 parents bd7ec89 + 4f621d6 commit 710b8fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eb_hooks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,9 @@ def parse_hook_qt5_check_qtwebengine_disable(ec, eprefix):
502502
def parse_hook_ucx_eprefix(ec, eprefix):
503503
"""Make UCX aware of compatibility layer via additional configuration options."""
504504
if ec.name == 'UCX':
505-
ec.update('configopts', '--with-sysroot=%s' % eprefix)
505+
# Don't enable --with-sysroot, as it will prefix library paths in .la files
506+
# with a = sign, causing weird issues for applications that depend on UCX (and use libtool)
507+
# ec.update('configopts', '--with-sysroot=%s' % eprefix)
506508
ec.update('configopts', '--with-rdmacm=%s' % os.path.join(eprefix, 'usr'))
507509
print_msg("Using custom configure options for %s: %s", ec.name, ec['configopts'])
508510
else:

0 commit comments

Comments
 (0)