News
CLion 2020.1.1 Bug-fix Update
Today we’re making available the first bug-fix for the recently released CLion 2020.1. CLion 2020.1.1 (build 201.7223.86) is now available for download from our website, via the Toolbox App, or via snap (for Ubuntu). A patch update will be available shortly.
Here are the main highlights:
- Toolchains:
- CLion 2020.1 introduced CUDA support. This update fixes the issue where CLion was not able to pick the non-default host compiler for CUDA.
There are two different ways of specifying the host-compiler that NVCC should use during compilation.- For older CUDA projects using
find_package(CUDA)
, the important CMake variables areCUDA_HOST_COMPILER
andCUDA_NVCC_FLAGS
. - For newer projects that specify CUDA explicitly as a language, CMake uses the variables
CMAKE_CUDA_HOST_COMPILER
andCMAKE_CUDA_FLAGS
instead.
For details check here.
- For older CUDA projects using
- The compiler is now detected correctly for Cygwin (CPP-19908).
- CLion 2020.1.1 recognizes WSL Ubuntu20.04 distribution.
- CLion 2020.1 introduced CUDA support. This update fixes the issue where CLion was not able to pick the non-default host compiler for CUDA.
- In Qt code:
QStringLiteral
andQByteArrayLiteral
are now highlighted correctly (CPP-19916). - Clang tools:
- A fix for a Clangd crash on C++20 code.
- A fix for the Reformat Code action that caused an IDE freeze when ClangFormat was in use.
- Code completion:
The full release notes are available here. If you haven’t yet updated your CLion to 2020.1, now is a great time to do so!
Your CLion Team
JetBrains
The Drive to Develop