libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Synchronize OpenMP flags with AC_OPENMP


From: Christian Feld
Subject: Synchronize OpenMP flags with AC_OPENMP
Date: Wed, 28 Sep 2016 15:27:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Dear all,

the attached patch synchronizes the OpenMP flags detected in AC_OPENMP
with the flags that libtool 'func_append's to

  compiler_flags
  compile_command
  finalize_command
  new_inherited_linker_flags

and prepends to

  compile_deplibs
  finalize_deplibs

The patch includes -qopenmp (Intel) and -Kopenmp (Fujitsu) proposed to
AC_OPENMP, see [1][2], and uses just -homp for Cray, see [3].

It would be nice if this patch could make it upstream.

Thanks,
Christian

[1]
https://lists.gnu.org/archive/html/autoconf-patches/2014-11/msg00001.html
[2]
https://lists.gnu.org/archive/html/autoconf-patches/2013-11/msg00000.html
[3] https://lists.gnu.org/archive/html/libtool/2016-09/msg00001.html
--
Dipl-Phys.
Christian Feld
Forschungszentrum Jülich GmbH
Jülich Supercomputing Centre
Telefon: +49 2461 61-1773
E-Mail: address@hidden
Internet: http://www.fz-juelich.de/jsc


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Attachment: openmp_flags.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]