octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compile the parallel package using clang


From: Sebastian
Subject: Re: Compile the parallel package using clang
Date: Tue, 9 Aug 2016 19:44:06 +0200

On 2016-08-09, Olaf Till <address@hidden> wrote:
> 
>> Testing for call-stack.h is probably a better idea: it fails as
>> expected on 4.0.3 but succeeds on 4.1.0+.
> 
> Configure sees interpreter.h, but mkoctfile doesn't; and the issue
> doesn't occur with call-stack.h? I see no obvious logic in
> this. Better we try to track down the reason for the issue.
I am not an autoconf expert, however could there be another interpreter.h? 
(llvm has an interpreter.h) You check for existence, right?

> What in detail are your steps in building the development package
> (bootstrap, configure, make, what environment variables are set, or do
> you use 'pkg', ...?)?
I check out from http://hg.code.sf.net/p/octave/parallel and go do "make 
release". I have no special env-variables set. Octave is installed under 
/usr/local/Cellar/octave/4.0.3/ and symlinked to /usr/local/bin etc. The path 
is set such that /usr/local/bin has preference. The mkoctfile setting are 
attached in output0.txt.

> Can you insert these 2 lines into this position in configure.ac:
> 
> @@ -160,6 +160,8 @@
> # Start of checks for Octave features, preparations for checks.
> OCTLIBDIR=${OCTLIBDIR:-`$OCTAVE_CONFIG -p OCTLIBDIR`}
> OCTINCLUDEDIR=${OCTINCLUDEDIR:-`$OCTAVE_CONFIG -p OCTINCLUDEDIR`}
> +echo "OCTAVE_CONFIG: ${OCTAVE_CONFIG}"
> +echo "OCTINCLUDEDIR: ${OCTINCLUDEDIR}"
> AC_LANG_PUSH([C++])
> TCXXFLAGS=$CXXFLAGS
> TLDFLAGS=$LDFLAGS
I made those modifications and committed to the local repo. Results are 
attached in output1.txt.

> bootstrap again and post the output, and insert this 1 line into this
> position in Makefile.in
> 
> @@ -39,6 +39,7 @@
> CXXCPP = @CXXCPP@
> 
> MKOCTFILE ?= @MKOCTFILE@
> +$(info MKOCTFILE: $(MKOCTFILE))
> PKG_CONFIG ?= @PKG_CONFIG@
> ifndef CXXFLAGS
> CXXFLAGS := $(shell $(MKOCTFILE) -p CXXFLAGS)
> 
> configure and make again and post the output?
I made those modifications and committed to the local repo. Results are 
attached in output2.txt.

Sebastian

Attachment: output1.txt
Description: Text document

Attachment: output2.txt
Description: Text document

Attachment: outpu0.txt
Description: Text document



reply via email to

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