|
31 | 31 | * Kenneth Hoste (Ghent University) |
32 | 32 | """ |
33 | 33 |
|
34 | | -from easybuild.tools.toolchain.variables import CommandFlagList, CommaSharedLibs, CommaStaticLibs, FlagList |
35 | | -from easybuild.tools.toolchain.variables import IncludePaths, LibraryList, LinkLibraryPaths, SearchPaths |
36 | | -from easybuild.tools.variables import AbsPathList |
| 34 | +from easybuild.tools.toolchain.variables import CommaSharedLibs, CommaStaticLibs |
| 35 | +from easybuild.tools.toolchain.variables import IncludePaths, LibraryList, LinkLibraryPaths |
| 36 | +from easybuild.tools.variables import AbsPathList, StrList |
37 | 37 |
|
38 | 38 |
|
39 | 39 | COMPILER_VARIABLES = [ |
|
53 | 53 | ] |
54 | 54 |
|
55 | 55 | COMPILER_MAP_CLASS = { |
56 | | - FlagList: [ |
| 56 | + StrList: [ |
57 | 57 | ('OPTFLAGS', 'Optimization flags'), |
58 | 58 | ('PRECFLAGS', 'FP precision flags'), |
59 | | - ] + COMPILER_FLAGS, |
| 59 | + ] + COMPILER_FLAGS + COMPILER_VARIABLES, |
60 | 60 | LibraryList: [ |
61 | 61 | ('LIBS', 'Libraries'), # -l options to pass to the linker (C/C++/Fortran) |
62 | 62 | ('FLIBS', 'Fortran libraries'), # linker flags (e.g. -L and -l) for Fortran libraries |
|
74 | 74 | ('OBJC_INCLUDE_PATH', 'Location of Objective C header files'), |
75 | 75 | ('LIBRARY_PATH', 'Location of linker files'), |
76 | 76 | ], |
77 | | - CommandFlagList: COMPILER_VARIABLES, |
78 | 77 | } |
79 | 78 |
|
80 | 79 | CO_COMPILER_MAP_CLASS = { |
81 | | - CommandFlagList: [ |
| 80 | + StrList: [ |
82 | 81 | ('CUDA_CC', 'CUDA C compiler command'), |
83 | 82 | ('CUDA_CXX', 'CUDA C++ compiler command'), |
84 | 83 | ('CUDA_F77', 'CUDA Fortran 77 compiler command'), |
85 | 84 | ('CUDA_F90', 'CUDA Fortran 90 compiler command'), |
86 | 85 | ('CUDA_FC', 'CUDA Fortran 77/90 compiler command'), |
87 | | - ], |
88 | | - FlagList: [ |
89 | 86 | ('CUDA_CFLAGS', 'CUDA C compiler flags'), |
90 | 87 | ('CUDA_CXXFLAGS', 'CUDA C++ compiler flags'), |
91 | 88 | ('CUDA_FCFLAGS', 'CUDA Fortran 77/90 compiler flags'), |
|
110 | 107 | ('MPI_LIB_DIR', 'MPI library directory'), |
111 | 108 | ('MPI_INC_DIR', 'MPI include directory'), |
112 | 109 | ], |
113 | | - CommandFlagList: MPI_COMPILER_VARIABLES + SEQ_COMPILER_VARIABLES, |
| 110 | + StrList: MPI_COMPILER_VARIABLES + SEQ_COMPILER_VARIABLES, |
114 | 111 | } |
115 | 112 |
|
116 | 113 | BLAS_MAP_CLASS = { |
|
0 commit comments