[CMake] hang in FindDoxygen.cmake on ppc64le

Serban Maerean serban at us.ibm.com
Fri Jun 30 11:05:54 EDT 2017


I cannot see the hang anymore, most probably a network issue.  Pls ignore.


Serban Maerean
HPC Tools
T/L: 293-9770, Tel.: 845-433-9770
E-mail: serban at us.ibm.com 



From:   Alex Turbov <i.zaufi at gmail.com>
To:     Serban Maerean <serban at us.ibm.com>
Cc:     cmake at cmake.org
Date:   06/29/2017 06:37 AM
Subject:        Re: [CMake] hang in FindDoxygen.cmake on ppc64le



> Linux does not understand '(' in name of files and directories; e.g.

actually it does. (and Bash != Linux). Anyway, just like a space symbol, 
you can quote argument w/ braces:

$ mkdir -p '/tmp/Just Test (it)'

and everything will be fine. As for the code mentioned, all paths are 
quoted here, so CMake should see the correct paths here.
To get more details please try to run cmake w/ `--trace-expand` and maybe 
w/ `--trace-source=FindDoxygen.cmake` options.

On Mon, Jun 26, 2017 at 7:05 PM, Serban Maerean <serban at us.ibm.com> wrote:
Hi,

I get a hang in the "file" command in FindDoxygen.cmake, on ppc64le:

103 set(_x86 "(x86)")
104 file(GLOB _Doxygen_GRAPHVIZ_BIN_DIRS
105   "$ENV{ProgramFiles}/Graphviz*/bin"
106   "$ENV{ProgramFiles${_x86}}/Graphviz*/bin"
107   )
108 unset(_x86)

Linux does not understand '(' in name of files and directories; e.g.

--> find /ProgramFiles(x86)/Graphviz*/bin
-bash: syntax error near unexpected token `('

and it appears the "file" command goes into a wild spin (never returns.)

Can this be done only for Windows?  I notice some paths are added 
regardless of platform, even if they are specific to a single platform, 
which seems to be unecessary.

Thanks,


Serban Maerean
HPC Tools
T/L: 293-9770, Tel.: 845-433-9770
E-mail: serban at us.ibm.com 

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170630/e98c67e8/attachment.html>


More information about the CMake mailing list