Announcement

Collapse
No announcement yet.

LLVM 3.7.0 Officially Released

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LLVM 3.7.0 Officially Released

    Phoronix: LLVM 3.7.0 Officially Released

    LLVM 3.7 along with sub-projects like Clang 3.7.0 have been officially released this afternoon...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I've downloaded the prebuilt binaries for MacOSX with the openmp runtime. I ran a simple example and I have only one visible core (my computer has four cores). If I use omp_set_num_threads(4), I'm still with one thread.
    Do you have tested it clang on MacOS X or did get this kind of issue on MacOX or Linux?

    Comment


    • #3
      Well, still no sign of 3.7 packages on http://llvm.org/apt/ :-((

      Comment


      • #4
        Regarding testing the -fopenmp support with libomp, the current default can be switched from -fopenmp=libgomp to -fopenmp=libomp by simply changing...

        --- cfe-3.7.0.src/CMakeLists.txt.orig 2015-09-02 12:21:32.000000000 -0400
        +++ cfe-3.7.0.src/CMakeLists.txt 2015-09-02 12:21:51.000000000 -0400
        @@ -182,7 +182,7 @@
        set(DEFAULT_SYSROOT "" CACHE PATH
        "Default <path> to all compiler invocations for --sysroot=<path>." )

        -set(CLANG_DEFAULT_OPENMP_RUNTIME "libgomp" CACHE STRING
        +set(CLANG_DEFAULT_OPENMP_RUNTIME "libomp" CACHE STRING
        "Default OpenMP runtime used by -fopenmp.")

        set(CLANG_VENDOR "" CACHE STRING

        Comment

        Working...
        X