octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #62316] building octave 7.1.0 in mac os x 12.3


From: S Mahesh
Subject: [Octave-bug-tracker] [bug #62316] building octave 7.1.0 in mac os x 12.3 fails
Date: Thu, 14 Apr 2022 21:28:46 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62316>

                 Summary: building octave 7.1.0  in mac os x 12.3 fails
                 Project: GNU Octave
            Submitted by: smahesh1
            Submitted on: Fri 15 Apr 2022 01:28:45 AM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Mahesh
        Originator Email: 
             Open/Closed: Open
                 Release: 7.1.0
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

I am trying to build octave 7.1.0 on mac os x 12.3.1 using the in-built
Apple's clang v 13.1.6. Apple's clang is known not to support OpenMP. So, I
have disabled openmp. My ./config command reads as:


./configure --prefix="/usr/local/" CC="clang" CXX="clang++" 
LDFLAGS="-L/usr/local/lib -L/opt/X11/lib/
-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/"
CFLAGS="-I/usr/local/include/ -I/opt/X11/include/
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/"
CPPFLAGS="-I/usr/local/include/ -I/opt/X11/include/" --with-lapack="-llapack"
--with-blas="-lblas" --disable-java --x-includes="/opt/X11/include/"
--x-libraries="/opt/X11/lib/" --disable-openmp


Even so, "make" does not complete successfully. The last few lines of output
are as follows: 

  CXXLD    libinterp/liboctinterp.la
clang: error: unsupported option '-fopenmp'
Makefile:12618: recipe for target 'libinterp/liboctinterp.la' failed
make[2]: *** [libinterp/liboctinterp.la] Error 1
make[2]: Leaving directory '/Users/mahesh/Downloads/octave-7.1.0'
Makefile:27442: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/Users/mahesh/Downloads/octave-7.1.0'
Makefile:10847: recipe for target 'all' failed
make: *** [all] Error 2


I appreciate any help in resolving this problem, so that I can complete the
build. 

Mahesh





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62316>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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