Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't detect gcc-10 on Linux #22

Open
zacky1972 opened this issue Nov 12, 2020 · 0 comments
Open

Can't detect gcc-10 on Linux #22

zacky1972 opened this issue Nov 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@zacky1972
Copy link
Contributor

Though gcc-10 is installed, the results of CpuInfo.all_profile doesn't include gcc-10:

> CpuInfo.all_profile
%{
  compiler: %{
    cc_env: [],
    cflags_env: "",
    clang: [
      %{
        bin: "/usr/local/bin/clang",
        type: :clang,
        version: "10.0.0",
        versions: "clang version 10.0.0 (https://github.com/llvm/llvm-project.git 6c3fee47a6492b472be2d48cee0a85773f160df0)"
      }, 
      %{
        bin: "/usr/bin/clang-8",
        type: :clang,
        version: "8.0.0",
        versions: "clang version 8.0.0-3~ubuntu18.04.2 (tags/RELEASE_800/final)"
      },
      %{
        bin: "/usr/bin/clang-9",
        type: :clang,
        version: "9.0.0",
        versions: "clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)"
      }
    ],
    "clang++": [
      %{
        bin: "/usr/local/bin/clang++",
        type: :"clang++",
        version: "10.0.0", 
        versions: "clang version 10.0.0 (https://github.com/llvm/llvm-project.git 6c3fee47a6492b472be2d48cee0a85773f160df0)"
      },
      %{
        bin: "/usr/bin/clang++-8",
        type: :"clang++",
        version: "8.0.0",
        versions: "clang version 8.0.0-3~ubuntu18.04.2 (tags/RELEASE_800/final)"
      },
      %{
        bin: "/usr/bin/clang++-9",
        type: :"clang++",
        version: "9.0.0",
        versions: "clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)"
      }
    ],
    cxx_env: [],
    cxxflags_env: "",
    "g++": [ 
      %{
        bin: "/usr/bin/g++",
        type: :"g++",
        version: "7.5.0",
        versions: "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0"
      },
      %{
        bin: "/usr/bin/g++-7",
        type: :"g++",
        version: "7.5.0",
        versions: "g++-7 (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0"
      },
      %{
        bin: "/usr/bin/g++-9",
        type: :"g++",
        version: "18.04.",
        versions: "g++-9 (Ubuntu 9-20190428-1ubuntu1~18.04.york0) 9.0.1 20190428 (prerelease) [gcc-9-branch revision 270630]"
      }
    ],
    gcc: [
      %{
        bin: "/usr/bin/gcc",
        type: :gcc,
        version: "7.5.0",
        versions: "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0"
      },
      %{
        bin: "/usr/bin/gcc-7",
        type: :gcc,
        version: "7.5.0",
        versions: "gcc-7 (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0"
      },
      %{
        bin: "/usr/bin/gcc-8",
        type: :gcc,
        version: "8.4.0",
        versions: "gcc-8 (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0"
      },
      %{
        bin: "/usr/bin/gcc-9",
        type: :gcc,
        version: "18.04.",
        versions: "gcc-9 (Ubuntu 9-20190428-1ubuntu1~18.04.york0) 9.0.1 20190428 (prerelease) [gcc-9-branch revision 270630]"
      }
    ],
    ldflags_env: ""
  },
  cpu: %{
    cpu_model: "AMD Ryzen Threadripper 2990WX 32-Core Processor",
    cpu_models: ["AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor",
     "AMD Ryzen Threadripper 2990WX 32-Core Processor", ...],
    cpu_type: "x86_64",
    hyper_threading: :enabled,
    num_of_cores_of_a_processor: 32,
    num_of_processors: 1,
    num_of_threads_of_a_processor: 64,
    total_num_of_cores: 32,
    total_num_of_threads: 64
  },
  cuda: %{cuda: false},
  elixir: %{version: "1.11.2"},
  erlang: %{otp_version: 23},
  kernel: %{
    kernel_release: "5.4.0-52-generic",
    kernel_version: "#57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020",
    os_type: :linux,
    system_version: "Ubuntu 18.04.5 LTS"
  },
  metal: %{metal: false}
}
@zacky1972 zacky1972 added the bug Something isn't working label Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant