Skip to content

Instantly share code, notes, and snippets.

@fo40225
Created October 29, 2024 03:10
Show Gist options
  • Save fo40225/a1eb872deed84dabf60a986a649aecb5 to your computer and use it in GitHub Desktop.
Save fo40225/a1eb872deed84dabf60a986a649aecb5 to your computer and use it in GitHub Desktop.
Intel, AMD, compiler clang version
echo | {} -dM -E - | grep clang_version
#define __clang_version__ "12.0.0 (icx 2020.10.0.1113)"
#define __clang_version__ "12.0.0 (icx 2021.2.0.20210317)"
#define __clang_version__ "13.0.0 (icx 2021.3.0.20210619)"
#define __clang_version__ "13.0.0 (icx 2021.4.0.20210924)"
#define __clang_version__ "14.0.0 (icx 2022.0.0.20211123)"
#define __clang_version__ "14.0.0 (icx 2022.0.0.20211123)"
#define __clang_version__ "14.0.0 (icx 2022.1.0.20220316)"
#define __clang_version__ "15.0.0 (icx 2022.2.0.20220730)"
#define __clang_version__ "15.0.0 (icx 2022.2.1.20221020)"
#define __clang_version__ "16.0.0 (icx 2023.0.0.20221201)"
#define __clang_version__ "16.0.0 (icx 2023.1.0.20230320)"
#define __clang_version__ "17.0.0 (icx 2023.2.0.20230622)"
#define __clang_version__ "17.0.0 (icx 2024.0.2.20231213)"
#define __clang_version__ "18.0.0 (icx 2024.1.2.20240508)"
#define __clang_version__ "19.0.0 (icx 2024.2.1.20240711)"
#define __clang_version__ "19.0.0git (icx 2025.0.0.20241008)"
#define __clang_version__ "13.0.0 (CLANG: AOCC_3.2.0-Build#128 2021_11_12)"
#define __clang_version__ "14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28)"
#define __clang_version__ "16.0.3 (CLANG: AOCC_4.1.0-Build#270 2023_07_10)"
#define __clang_version__ "16.0.3 (CLANG: AOCC_4.2.0-Build#89 2023_12_13)"
#define __clang_version__ "17.0.6 (CLANG: AOCC_5.0.0-Build#1377 2024_09_24)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment