summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/cmake
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-12-14 22:39:11 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-12-14 22:39:11 +0000
commit7cc577a4efa28c20c4e54011e19e815a9ff5e0ca (patch)
treec285406289cdaa612ad7340aac5d98c681dde441 /openmp/runtime/cmake
parent52fe1f68c8f405dc5799a640ff275c6afd74ebb1 (diff)
downloadbcm5719-llvm-7cc577a4efa28c20c4e54011e19e815a9ff5e0ca.tar.gz
bcm5719-llvm-7cc577a4efa28c20c4e54011e19e815a9ff5e0ca.zip
Change source files from .c to .cpp
Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D26688 llvm-svn: 289732
Diffstat (limited to 'openmp/runtime/cmake')
-rw-r--r--openmp/runtime/cmake/LibompUtils.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/openmp/runtime/cmake/LibompUtils.cmake b/openmp/runtime/cmake/LibompUtils.cmake
index dd2d4ecebf7..f4cfa8cf551 100644
--- a/openmp/runtime/cmake/LibompUtils.cmake
+++ b/openmp/runtime/cmake/LibompUtils.cmake
@@ -133,12 +133,12 @@ function(libomp_check_variable var)
endfunction()
# void libomp_get_build_number(string src_dir, string* return_build_number);
-# - grab the eight digit build number (or 00000000) from kmp_version.c
+# - grab the eight digit build number (or 00000000) from kmp_version.cpp
function(libomp_get_build_number src_dir return_build_number)
- # sets file_lines_list to a list of all lines in kmp_version.c
- file(STRINGS "${src_dir}/src/kmp_version.c" file_lines_list)
+ # sets file_lines_list to a list of all lines in kmp_version.cpp
+ file(STRINGS "${src_dir}/src/kmp_version.cpp" file_lines_list)
- # runs through each line in kmp_version.c
+ # runs through each line in kmp_version.cpp
foreach(line IN LISTS file_lines_list)
# if the line begins with "#define KMP_VERSION_BUILD" then we take not of the build number
string(REGEX MATCH "^[ \t]*#define[ \t]+KMP_VERSION_BUILD" valid "${line}")
OpenPOWER on IntegriCloud