HomePhabricator

Dropped non-supoorted "--no-as-needed" flag from OMPT tests for macOS

Description

Dropped non-supoorted "--no-as-needed" flag from OMPT tests for macOS

The flag "--no-as-needed" is not recognized by the linker on macOS making the following tests fail:

ompt/loadtool/tool_available/tool_available.c
ompt/loadtool/tool_not_available/tool_not_available.c
This patch removes this flag for macOS and adds it only for Linux and Windows.
I tested it on Ubuntu 16.04 and macOS HighSierra, with Clang/LLVM 6.0.1 and OpenMP trunk.

This solution was also discussed in the OpenMP-dev mailing list.

Patch provided by Simone Atzeni

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

Details

Committed
jprotzeJul 5 2018, 2:14 AM
Differential Revision
D48888: Dropped non-supoorted "--no-as-needed" flag from OMPT tests for macOS
Parents
rL336326: [OMPT] Add synchronization to threads_nested.c testcase
Branches
Unknown
Tags
Unknown