<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/openmp/cmake/DetectTestCompiler, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-14T07:47:58+00:00</updated>
<entry>
<title>[OpenMP][Tool] Make tests for archer dependent on TSan</title>
<updated>2020-01-14T07:47:58+00:00</updated>
<author>
<name>Joachim Protze</name>
<email>protze@itc.rwth-aachen.de</email>
</author>
<published>2020-01-14T07:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=84637408f2e63821014974dac08dee50bb197c1b'/>
<id>urn:sha1:84637408f2e63821014974dac08dee50bb197c1b</id>
<content type='text'>
If the openmp project is built standalone, the test compiler is feature tested for an available -fsanitize=thread flag.
If the openmp project is built as part of llvm, the target tsan is needed to test archer.

An additional line (requires tsan) was introduced to the tests, this patch updates the line numbers for the race.

Follow-up for 77ad98c

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D71914
</content>
</entry>
<entry>
<title>Ensure correct pthread flags and libraries are used</title>
<updated>2019-04-03T18:11:36+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dimitry@andric.com</email>
</author>
<published>2019-04-03T18:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=956168c8029b4cc8c1d317f0326a7c1238101cb7'/>
<id>urn:sha1:956168c8029b4cc8c1d317f0326a7c1238101cb7</id>
<content type='text'>
On most platforms, certain compiler and linker flags have to be passed
when using pthreads, otherwise linking against libomp.so might fail with
undefined references to several pthread functions.

Use CMake's `find_package(Threads)` to determine these for standalone
builds, or take them (and optionally modify them) from the top-level
LLVM cmake files.

Also, On FreeBSD, ensure that libomp.so is linked against libm.so,
similar to NetBSD.

Adjust test cases with hardcoded `-lpthread` flag to use the common
build flags, which should now have the required pthread flags.

Reviewers: emaste, jlpeyton, krytarowski, mgorny, protze.joachim, Hahnfeld

Reviewed By: Hahnfeld

Subscribers: AndreyChurbanov, tra, EricWF, Hahnfeld, jfb, jdoerfert, openmp-commits

Tags: #openmp

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

llvm-svn: 357618
</content>
</entry>
<entry>
<title>[CMake] Add -fno-experimental-isel for testing</title>
<updated>2018-02-15T08:10:22+00:00</updated>
<author>
<name>Jonas Hahnfeld</name>
<email>hahnjo@hahnjo.de</email>
</author>
<published>2018-02-15T08:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6f9e25d3824fb7b03dc6a403e1962d80a9c88ebe'/>
<id>urn:sha1:6f9e25d3824fb7b03dc6a403e1962d80a9c88ebe</id>
<content type='text'>
GlobalISel doesn't yet implement blockaddress and falls back to
SelectionDAG. This results in additional branch instruction to
the next basic block which breaks the OMPT tests.
Disable GlobalISel for now when compiling the tests because fixing
them is not easily possible. See http://llvm.org/PR36313 for full
discussion history.

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

llvm-svn: 325218
</content>
</entry>
<entry>
<title>[CMake] Detect information about test compiler</title>
<updated>2017-11-30T17:08:31+00:00</updated>
<author>
<name>Jonas Hahnfeld</name>
<email>hahnjo@hahnjo.de</email>
</author>
<published>2017-11-30T17:08:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fc473dee98fd8d2756983b9d039cd439e5a78f24'/>
<id>urn:sha1:fc473dee98fd8d2756983b9d039cd439e5a78f24</id>
<content type='text'>
Perform a nested CMake invocation to avoid writing our own parser
for compiler versions when we are not testing the in-tree compiler.
Use the extracted information to mark a test as unsupported that
hangs with Clang prior to version 4.0.1 and restrict tests for
libomptarget to Clang version 6.0.0 and later.

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

llvm-svn: 319448
</content>
</entry>
</feed>
