HomePhabricator

Allow passing additional compiler/linker flags for the tests

Description

Allow passing additional compiler/linker flags for the tests

Summary:
These flags can be specified using the CMake variables
LIBCXX_TEST_LINKER_FLAGS and LIBCXX_TEST_COMPILER_FLAGS.
When building the tests for CHERI I need to pass additional
flags (such as -mabi=n64 or -mabi=purecap) to the compiler
for our test configurations

Reviewers: EricWF

Reviewed By: EricWF

Subscribers: christof, mgorny, cfe-commits

Differential Revision: https://reviews.llvm.org/D42139

Details

Committed
arichardsonFeb 23 2018, 7:19 AM
Reviewer
EricWF
Differential Revision
D42139: Allow passing additional compiler/linker flags for the tests
Branches
Unknown
Tags
Unknown