mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
* lib/omp.in.h: Test _OPENMP. * lib/omp-init.c: Include <omp.h> always. * modules/openmp-init (Include): Allow <omp.h> to be included always.
47 lines
997 B
Plaintext
47 lines
997 B
Plaintext
Description:
|
|
Initialization of OpenMP support.
|
|
|
|
Files:
|
|
lib/omp.in.h
|
|
lib/omp-init.c
|
|
m4/omp_h.m4
|
|
|
|
Depends-on:
|
|
gen-header
|
|
include_next
|
|
c-ctype
|
|
setenv
|
|
|
|
configure.ac:
|
|
gl_OMP_H
|
|
AC_PROG_MKDIR_P
|
|
|
|
Makefile.am:
|
|
BUILT_SOURCES += omp.h
|
|
|
|
# We need the following in order to create <omp.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
|
|
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
|
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
|
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
|
-e 's|@''NEXT_OMP_H''@|$(NEXT_OMP_H)|g' \
|
|
$(srcdir)/omp.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += omp.h omp.h-t
|
|
|
|
lib_SOURCES += omp-init.c
|
|
|
|
Include:
|
|
#include <omp.h>
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
all
|