summaryrefslogtreecommitdiff
path: root/macros.clang
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:51:14 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:51:14 +0000
commit3e6a0642e5563bd5c2be3bc8c0cfe344a9d33140 (patch)
tree42c5cd130bfe287272c38b3a6c507efa92a8a626 /macros.clang
parent652769df9864ff61c7fc9429887d6db5171b8c03 (diff)
automatic import of clangopeneuler24.03_LTS
Diffstat (limited to 'macros.clang')
-rw-r--r--macros.clang11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.clang b/macros.clang
new file mode 100644
index 0000000..88f259d
--- /dev/null
+++ b/macros.clang
@@ -0,0 +1,11 @@
+%clang_major_version @@CLANG_MAJOR_VERSION@@
+%clang_minor_version @@CLANG_MINOR_VERSION@@
+%clang_patch_version @@CLANG_PATCH_VERSION@@
+
+%clang_version %{clang_major_version}.%{clang_minor_version}.%{clang_patch_version}
+
+# This is the path to the clang resource directory that has clang's internal
+# headers and libraries. This path should be used by packages that need to
+# install files into this directory. This macro's value changes every time
+# clang's version changes.
+%clang_resource_dir %{_prefix}/lib/clang/%{clang_major_version}