On Mon, Feb 10, 2014 at 10:23 AM, John Peterson <jwpeter...@gmail.com>wrote:

>
>
>
> On Fri, Feb 7, 2014 at 10:56 AM, John Peterson <jwpeter...@gmail.com>wrote:
>
>>
>>
>> > On Feb 7, 2014, at 8:31 AM, "Kirk, Benjamin (JSC-EG311)" <
>> benjamin.k...@nasa.gov> wrote:
>> >
>> > In file included from
>> /home0/bkirk/codes/install/libmesh/v0.9.3-rc2/include/boost/pool/pool.hpp(12),
>> >                 from
>> /home0/bkirk/codes/install/libmesh/v0.9.3-rc2/include/libmesh/pool_allocator.h(27),
>> >                 from /tmp/pool_allocator.h.aisurLIV1S.cxx(1):
>> >
>> /home0/bkirk/codes/install/libmesh/v0.9.3-rc2/include/boost/config.hpp(35):
>> catastrophic error: cannot open source file
>> "boost/config/compiler/intel.hpp"
>> >  #  include BOOST_COMPILER_CONFIG
>> >                                  ^
>> > I just got this doing a 'make distcheck' - comparing our contrib/boost
>> to /opt/local/... from macports is illustrative:
>> >
>> > $ ls contrib/boost/include/boost/config/compiler/
>> > gcc.hpp
>> >
>> > $ ls /opt/local/include/boost/config/compiler/
>> > borland.hpp     compaq_cxx.hpp  greenhills.hpp  mpw.hpp
>> sunpro_cc.hpp
>> > clang.hpp       cray.hpp        hp_acc.hpp      nvcc.hpp
>>  vacpp.hpp
>> > codegear.hpp    digitalmars.hpp intel.hpp       pathscale.hpp
>> visualc.hpp
>> > comeau.hpp      gcc.hpp         kai.hpp         pgi.hpp
>> > common_edg.hpp  gcc_xml.hpp     metrowerks.hpp  sgi_mipspro.hpp
>> >
>> > John, do you have the missing headers for the same version of Boost you
>> recently upgraded us to?
>>
>> They are just from 1.55.0.
>>
>> I'm pretty sure this is due to me using my compiler (GCC) to generate
>> dependencies instead of bc... There's no reason it would need to pull in
>> intel.hpp.
>>
>> I'm baby sitting right now but I can try to fix this later today...
>>
>
>
> Well, I played with bcp a bit this weekend and the results were somewhat
> disappointing.  Both
>
> bcp shared_ptr.hpp
>
> and
>
> bcp --scan boost_shared_ptr.cc
>
> (where boost_shared_ptr.cc is a file which just #includes
> <boost/shared_ptr.hpp>) end up pulling in source files like
>
> libs/smart_ptr/src/sp_collector.cpp
> libs/smart_ptr/src/sp_debug_hooks.cpp
> ...
>
> from the boost distro, making our boost subset non header-only!
>
> And even excluding those .cpp files, running bcp still added 234,777 new
> lines of boost code beyond what we already had... so I consider this bcp
> experiment to be a failure.
>
>
> Instead I tried a band-aid solution, by just copying
> over config/compiler/intel.hpp by hand, but I haven't tested to see if this
> actually works with the Intel compiler.  Will try and do that later today
> on one of our machines that has Intel compilers...
>
> If you have a chance, would you mind giving it a try?  I suspect there
> will be more files needed before everything actually starts working.
>


OK, I added several more boost files that were required by the Intel
compiler...  I think this should be all of them.  Would you mind trying it
again on your system that uses Intel?

This solution of generating dependency lists manually on various
compiler/architecture combinations isn't the most elegant thing ever, but,
assuming it works, it is superior to using bcp as far as our needs are
concerned.

-- 
John
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to