Bug ID: 30489
           Summary: Cannot build with -DLIBOMP_FORTRAN_MODULES=True
           Product: OpenMP
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
    Classification: Unclassified

cd /home/user/fresh/openmp/runtime/src && /usr/bin/cmake -E create_symlink
cd /home/user/fresh/openmp/runtime/src && /usr/bin/cmake -E create_symlink
cd /home/user/fresh/openmp/runtime/src && /usr/bin/cmake -E make_directory
Error making directory
runtime/src/CMakeFiles/omp.dir/build.make:926: recipe for target
'runtime/src/' failed
make[2]: *** [runtime/src/] Error 1
make[2]: *** Deleting file 'runtime/src/'
make[2]: Leaving directory '/home/user/fresh/openmp'
CMakeFiles/Makefile2:379: recipe for target
'runtime/src/CMakeFiles/omp.dir/all' failed
make[1]: *** [runtime/src/CMakeFiles/omp.dir/all] Error 2
make[1]: Leaving directory '/home/user/fresh/openmp'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Apparently 'include' already exists and unfortunately it is a Fortran file
which begins like this:

! include/45/omp_lib.h.var

!//                     The LLVM Compiler Infrastructure
!// This file is dual licensed under the MIT and the University of Illinois
!// Source Licenses. See LICENSE.txt for details.

!*** Some of the directives for the following routine extend past column 72,
!*** so process this file in 132-column mode.

!DIR$ fixedformlinesize:132

      integer, parameter :: omp_integer_kind       = 4
      integer, parameter :: omp_logical_kind       = 4
      integer, parameter :: omp_real_kind          = 4

Note that building outside the source directory does not help, it still
modifies source directory tree and fails to create 'include' directory!

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to