[all-commits] [llvm/llvm-project] d58ba7: [libc++][test] Makes pthread a flag.

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed May 3 09:35:59 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d58ba7a4d145c60039d9a87f7265e56716e3bedd
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M libcxx/test/configs/ibm-libc++-shared.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
    M libcxx/test/configs/llvm-libc++-shared.cfg.in
    M libcxx/test/configs/llvm-libc++-static.cfg.in

  Log Message:
  [libc++][test] Makes pthread a flag.

Using pthread may affect the compilation too not only the linking.
Therefore pthread is changed from a link flag to a generic flag used for
both compilation and linking.

This fixes an issue when using modules since the use of the pthread flag
makes the BMI files not compatible.

Reviewed By: #libc, ldionne

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

More information about the All-commits mailing list