Re: [CMake] "modern" CUDA handling and static libraries

2017-12-19 Thread Robert Maynard
Hi, The CUDA_RESOLVE_DEVICE_SYMBOLS property was added for this exact situation. You can find it documented at https://cmake.org/cmake/help/v3.10/prop_tgt/CUDA_RESOLVE_DEVICE_SYMBOLS.html Here is an example of it being used: https://gitlab.kitware.com/cmake/cmake/commit/493671a5212c6548b2d7376c70

[CMake] "modern" CUDA handling and static libraries

2017-12-19 Thread Crni Gorac
Hello, My project is alike for what is described by following CMakeLists.txt for Cuda/Complex test case from CMake source distribution: # cmake_minimum_required(VERSION 3.8) project (CudaComplex CXX CUDA) string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=comp

Re: [CMake] Bootstrap fails to detect C++11 compiler on AIX 7.1/XL C 13.1.3 toolset

2017-12-19 Thread Chuck Atkins
Hi Nathan, I am able to reproduce this error on our Dashboard machine; it should be working and clearly it's not at the moment. I will investigate... -- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Tue, Dec 19, 2017 at 11:48 AM, Nathan Strong wrote: > I am hav

[CMake] Bootstrap fails to detect C++11 compiler on AIX 7.1/XL C 13.1.3 toolset

2017-12-19 Thread Nathan Strong
I am having difficulty building CMake on AIX 7.1 using IBM XL C 13.1.3, which seems to be the newest version as of April 2017. The bootstrap script fails with the following error: - CMake 3.10.1, Copyright 2000-2017 Kitware, Inc. and Contributors Found

[CMake] downloading ftp URL problems

2017-12-19 Thread Kris Thielemans
Hi I'm try to get a file via ftp in EXTERNAL_PROJECT_ADD by specifying the URL. This takes a long time on my Windows machine using CMake 3.10.1 (and previous versions of CMake) as it needs multiple retries: 2> -- Using src='ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5-dll64.zip' 2> -- Retrying