瀏覽代碼

Recognize the PathScale C/C++/Fortran compilers

Brad King 16 年之前
父節點
當前提交
1e9f58e605
共有 3 個文件被更改,包括 8 次插入0 次删除
  1. 3 0
      Modules/CMakeCCompilerId.c.in
  2. 3 0
      Modules/CMakeCXXCompilerId.cpp.in
  3. 2 0
      Modules/CMakeFortranCompilerId.F.in

+ 3 - 0
Modules/CMakeCCompilerId.c.in

@@ -36,6 +36,9 @@
 #elif defined(__PGI)
 # define COMPILER_ID "PGI"
 
+#elif defined(__PATHSCALE__)
+# define COMPILER_ID "PathScale"
+
 #elif defined(__GNUC__)
 # define COMPILER_ID "GNU"
 

+ 3 - 0
Modules/CMakeCXXCompilerId.cpp.in

@@ -38,6 +38,9 @@
 #elif defined(__PGI)
 # define COMPILER_ID "PGI"
 
+#elif defined(__PATHSCALE__)
+# define COMPILER_ID "PathScale"
+
 #elif defined(__GNUC__)
 # define COMPILER_ID "GNU"
 

+ 2 - 0
Modules/CMakeFortranCompilerId.F.in

@@ -8,6 +8,8 @@
         PRINT *, 'INFO:compiler[SunPro]'
 #elif defined(__G95__)
         PRINT *, 'INFO:compiler[G95]'
+#elif defined(__PATHSCALE__)
+        PRINT *, 'INFO:compiler[PathScale]'
 #elif defined(__GNUC__)
         PRINT *, 'INFO:compiler[GNU]'
 #elif defined(__IBMC__)