Browse Source

Skip Fortran module mangling test on PathScale

We disable this test because PathScale Fortran mangles module symbols as
"MYSUB.in.MYMODULE" so we cannot interface with it from C.  We already
did this for SunPro and MIPSpro.
Brad King 16 years ago
parent
commit
4d1351e8d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/Fortran/CMakeLists.txt

+ 1 - 1
Tests/Fortran/CMakeLists.txt

@@ -34,7 +34,7 @@ function(test_fortran_c_interface_module)
   FortranCInterface_VERIFY()
   FortranCInterface_VERIFY(CXX)
   if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
-    if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro")
+    if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro|PathScale")
       set(module_expected 1)
     endif()
     if(FortranCInterface_MODULE_FOUND OR module_expected)