As one ballpark datapoint: a "superbuild" of 3D Slicer (slicer.org) has a
similar object and library count:
macbook-pro:s5nj inorton$ find ./ -name *.o | wc -l
>14127
macbook-pro:s5nj inorton$ find ./ -name *.dylib -or -name *.so | wc -l
> 2158
Based on a few quick tests, the aggregate
Hi,
I have figured out what the problem is:
LLVM/Clang with OpenMP requires linking against libatomic only when
using 128-bit integers. The following program fails to compile using
Clang-6.0 on Ubuntu 18 x86_64 using:
$ clang++ -fopenmp=libomp test.cpp
#include
int main() {
__int128_t sum
On Sat, May 5, 2018 at 1:33 AM, Francis Giraldeau <
francis.girald...@gmail.com> wrote:
> > Hi,
> >
> > I am fetching and building SDL2 using FetchContent and then using
> > target_link_libraries(MyExe SDL2) in the hopes that the required include
> > directories and libraries will be added populat
Just to be clear, the memory and time used are just to configure and generate
the makefiles or Ninja file. The build itself can take several hours.
On 4/30/18, 4:55 PM, "R0b0t1" wrote:
On Mon, Apr 30, 2018 at 4:44 PM, Patrick E Gartung wrote:
> Hi,
>
> We have a large c/c++/f
Hi,
The latest Clang-6.0 compiler finally enables OpenMP by default on
Linux (e.g. Ubuntu-18 x86_64).
But OpenMP programs using Clang-6.0/CMake-3.10 fail to compile:
[100%] Linking CXX executable primecount
libprimecount.a(P2.cpp.o): In function `.omp_outlined..7':
P2.cpp:(.text+0x2194): undefin
> Hi,
>
> I am fetching and building SDL2 using FetchContent and then using
> target_link_libraries(MyExe SDL2) in the hopes that the required include
> directories and libraries will be added populated properly. The example
> project can be found here:
>
> https://github.com/samaursa/cmake_fetch_c
Hello,
I build a project which consists of several "modules" with various mutual
dependencies. Each module defines its OBJECT target as:
# Module 1:
add_library(Module1 OBJECT )
target_include_directories(Module1 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
add_library(Module1_LI