cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
      
      
        

Is what we specify in the top level cmakelists, if the user is using
2.8.11 it should flag an error.

The PUBLIC interfaces were added in cmake 3.0 so we should bump our
version to 3 minimum

JB


On 26/04/16 22:10, "hpx-users-boun...@stellar.cct.lsu.edu on behalf of
Hartmut Kaiser" <hpx-users-boun...@stellar.cct.lsu.edu on behalf of
hartmut.kai...@gmail.com> wrote:

>
>> Really appreciate the assistance!
>> 
>> - compiling with cmake 2.8.11 on a CentOS7 system
>> 
>> - build steps
>> 
>> 1) created a subdirectory in the hpx source directory called 'build'
>> 2) cd build
>> 3) cmake -DCMAKE_INSTALL_PREFIX=~/opt ..
>> 4) make -j4
>> When grepping in the 'build' subdirectory for the word PUBLIC, there are
>> multiple references to -lPUBLIC. The library is usually listed between -
>> lhwloc and -ldl in all the 'link.txt' files generated by cmake.
>> 
>> The cmake log is output generated when running `make -VERBOSE=1 -j4`?
>
>The cmake logs is the output generated when you run cmake (step 3). The
>build logs are those generated when you run make (step 4).
>
>> Thanks!
>
>>From what I can see from the cmake docs for version 2.8.11
>>(https://cmake.org/cmake/help/v2.8.11/cmake.html), the
>>PUBLIC/PRIVATE/INTERFACE keywords are supported by that version. So I'm
>>still unsure what's going on. Would you mind running cmake again (after
>>deleting the CMakeCache.txt) with -DHPX_CMAKE_LOGLEVEL=Debug, and
>>sending the log as well?
>
>Regards Hartmut
>---------------
>http://boost-spirit.com
>http://stellar.cct.lsu.edu
>
>
>> ct
>> 
>> 
>> On Tue, Apr 26, 2016 at 2:23 PM, Hartmut Kaiser
>><hartmut.kai...@gmail.com>
>> wrote:
>> Resending...
>> 
>> > I'm trying to compile HPX 0.9.11 and have been having issues when the
>> > cmake scripts attempt to link libhpx.so. ld complains that it can't
>>find
>> -
>> > lPUBLIC.
>> >
>> > Is -lPUBLIC an internal library or an external dependency? (if it's
>> > external, what package would be required to satisfy the requirment, if
>> > it's internal, should I just go ahead and try building 0.9.12)
>> > thanks in advance for the assistance!
>> 
>> We don't refer to a library call named 'PUBLIC'. No idea where this is
>> coming from.
>> Could you please provide us with full logs of your cmake and build steps
>> (including command line options for those)?
>> 
>> Also, as Lars mentioned, it could be caused by a cmake incompatibility
>> we're not aware of. What version of cmake do you use?
>> 
>> Thanks!
>> Regards Hartmut
>> ---------------
>> http://boost-spirit.com
>> http://stellar.cct.lsu.edu
>> 
>> 
>
>
>_______________________________________________
>hpx-users mailing list
>hpx-users@stellar.cct.lsu.edu
>https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

_______________________________________________
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to