This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ][z/OS] Link library path in libc++ testing
AbandonedPublic

Authored by muiez on Nov 22 2021, 9:33 AM.

Details

Reviewers
ldionne
Quuxplusone
bcraig
Group Reviewers
Restricted Project
Summary

The functions configure_link_flags_cxx_library_path & configure_link_flags_abi_library_path are not handling the z/OS specific case correctly when a [cxx|abi]_runtime_root is specified to link. The options are not recognized on z/OS.

Hence, this patch adds a z/OS specific case (similar to the other platform-specific cases) but adds the library path using the LIBPATH env variable. In addition, (add_path) is modified to account for adding the LIBPATH env variable as well.

Diff Detail

Event Timeline

muiez created this revision.Nov 22 2021, 9:33 AM
muiez requested review of this revision.Nov 22 2021, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 22 2021, 9:33 AM
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald Transcript
muiez added a reviewer: bcraig.

I don't understand why this change is necessary, since you folks are using this config libcxx/test/configs/ibm-libc++-shared.cfg.in.

Generally speaking, we're trying to move away from the old config file in libcxx/utils/libcxx/test/config.py. I don't really have an objection to this patch except that it's going to break when we remove libcxx/utils/libcxx/test/config.py, so you should probably set up your testing against the right configuration from the get go.

muiez abandoned this revision.Jun 28 2022, 11:12 AM

Will use custom config file instead.

Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2022, 11:12 AM