[Paraview] Superbuild and OSX
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Sep 8 11:28:28 EDT 2014
Don't use ninja..on OsX or Linux. Stick with make files for those for now.
On Mon, Sep 8, 2014 at 11:15 AM, Reuter, Michael A. <reuterma at ornl.gov> wrote:
> After updating the Superbuild code and cleaning house, I was still seeing the ParaView CMake configure failure I reported before. I did a bit of digging and found that the generated pv-paraview-build.cmake was trying to execute the following command: step_command-NOTFOUND. It seems to be related to trying to use ninja instead of make files. I switched to make files and the build is in progress.
>
> Thanks,
> M
>
>
>
> On Sep 7, 2014, at 1:58 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>> wrote:
>
> Alright, Superbuild + Mavericks is now working as expected. It's now
> tested on the dashboards too:
>
> http://open.cdash.org/buildSummary.php?buildid=3479885
>
> If looking for options to turn on, here's a good start:
> http://open.cdash.org/viewNotes.php?buildid=3479885
>
> Utkarsh
>
> On Thu, Sep 4, 2014 at 9:22 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> Sorry, I did mean Mavericks :)..I can never keep the MacOS names straight.
>
> On Thu, Sep 4, 2014 at 8:00 AM, Reuter, Michael A. <reuterma at ornl.gov> wrote:
> Thanks for the update. I’m actually building on Mavericks, but our project is still supporting Mountain Lion so it will be good to have it work there.
>
> M
>
>
> On Sep 3, 2014, at 11:57 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>> wrote:
>
> Michael,
>
> Hold off on using the superbuild on MountainLion for now. I'll track
> the issues down and then let you know.
>
>
> Utkarsh
>
> On Wed, Sep 3, 2014 at 6:23 PM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>> wrote:
> Michael,
>
> Let me try this on a Moutain Lion myself and I'll let you know. What
> projects are you turning on in your build?
>
> Utkarsh
>
> On Wed, Sep 3, 2014 at 2:40 PM, Reuter, Michael A. <reuterma at ornl.gov<mailto:reuterma at ornl.gov>> wrote:
> This gets around the clang argument problem, but the ParaView CMake configuration step still fails for an unknown reason.
>
> M
>
> On Sep 3, 2014, at 10:28 AM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com><mailto:utkarsh.ayachit at kitware.com>> wrote:
>
> Cherry-pick this fix for now : http://review.source.kitware.com/#/c/16665/
> It'll go into master soon.
>
> Ben, anything this fix is waiting on?
>
> Utkarsh
>
> On Wed, Sep 3, 2014 at 9:42 AM, Reuter, Michael A. <reuterma at ornl.gov<mailto:reuterma at ornl.gov><mailto:reuterma at ornl.gov>> wrote:
> Hi,
>
> I’m having trouble getting the git-master version of the Superbuild running on OSX (10.9) with clang (5.1). Setting the CMAKE_OSX_SYSROOT variable causes the following error during CMake (2.8.12.2) generation for the ParaView subproject:
>
> -- The C compiler identification is unknown
> -- The CXX compiler identification is unknown
> -- Check for working C compiler using: Ninja
> -- Check for working C compiler using: Ninja -- broken
> CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
> The C compiler "/usr/bin/cc" is not able to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir: /Users/2zr/build/ParaView-Superbuild/paraview/src/paraview-build/CMakeFiles/CMakeTmp
>
> Run Build Command:/usr/local/bin/ninja cmTryCompileExec4050157075
>
> [1/2] Building C object
> CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o
>
> FAILED: /usr/bin/cc -fPIC -arch x86_64 -mmacosx-version-min=10.9
> -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
> -o CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o -c
> testCCompiler.c
>
> clang: error: unknown argument:
> '-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk'
> [-Wunused-command-line-argument-hard-error-in-future]
>
> clang: note: this will be a hard error (cannot be downgraded to a warning)
> in the future
>
> ninja: build stopped: subcommand failed.
>
> Even if I empty the CMAKE_OSX_SYSROOT variable, the system still tries to pass an empty -sysroot flag to clang causing it to choke. I removed the sysroot flag from the top-level CMakeLists.txt, but then the ParaView CMake setup fails for a reason I can’t seem to understand. I’m attaching the log showing the CMake output. The only obvious thing I see is the Fortran compiler. Is that required?
>
> Thanks,
> M
>
> Dr. Michael Reuter
> Scientific Data Analysis Group
> Neutron Data Analysis and Visualization Division
> Oak Ridge National Laboratory
>
> Office: 1-865-241-7216
> Fax: 1-865-574-6080
> Email: reuterma at ornl.gov<mailto:reuterma at ornl.gov><mailto:reuterma at ornl.gov>
>
>
> _______________________________________________
> Powered by www.kitware.com<http://www.kitware.com><http://www.kitware.com/>
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
More information about the ParaView
mailing list