[Openmp-commits] [PATCH] D74462: [OpenMP] modify strings output in libomp.so [NFC}

Kelvin Li via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 11 22:00:17 PST 2020


kkwli0 created this revision.
kkwli0 added reviewers: RaviNarayanaswamy, jdoerfert, ABataev, JonChesterfield.
Herald added a subscriber: guansong.

Currently, the output of the strings command on libomp.so shows:

@(#) Intel(R) OMP alternative compiler support: yes
@(#) Intel(R) OMP API version: 5.0 (201611)
@(#) Intel(R) OMP lock type: run time selectable
@(#) $Revision: 481659 $
@(#) Intel(R) OMP Fortran __cdecl OMP support: yes
@(#) Intel(R) OMP Fortran "extra" OMP support: yes
@(#) Intel(R) OMP performance library (dynamic) ver. 5.0.20140926 
@(#) Intel(R) OMP 
@(#) Intel(R) OMP version: 5.0.20140926
@(#) Intel(R) OMP library type: performance
@(#) Intel(R) OMP link type: dynamic
@(#) Intel(R) OMP build time: no_timestamp
@(#) Intel(R) OMP build compiler: Clang 10.0

This patch is to change 'Intel(R)' to 'LLVM'.


https://reviews.llvm.org/D74462

Files:
  openmp/runtime/src/kmp_version.h


Index: openmp/runtime/src/kmp_version.h
===================================================================
--- openmp/runtime/src/kmp_version.h
+++ openmp/runtime/src/kmp_version.h
@@ -30,7 +30,7 @@
    just before version string. */
 #define KMP_VERSION_MAGIC_STR "\x00@(#) "
 #define KMP_VERSION_MAGIC_LEN 6 // Length of KMP_VERSION_MAGIC_STR.
-#define KMP_VERSION_PREF_STR "Intel(R) OMP "
+#define KMP_VERSION_PREF_STR "LLVM OMP "
 #define KMP_VERSION_PREFIX KMP_VERSION_MAGIC_STR KMP_VERSION_PREF_STR
 
 /* declare all the version string constants for KMP_VERSION env. variable */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74462.244053.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200212/e5c93cf3/attachment.bin>


More information about the Openmp-commits mailing list