Added a helper function for setting the L1 kernel defaults.

Added loop to build objects with different KERNEL defines.
This commit is contained in:
Hank Anderson
2015-02-17 21:36:23 -06:00
parent 67e39bd8fb
commit 33c5e8db7f
4 changed files with 196 additions and 60 deletions

View File

@@ -28,15 +28,15 @@ set(NU_SOURCES
)
# objects that need LOWER set
GenerateCombinationObjects("${UL_SOURCES}" "LOWER" "U" "" 1)
GenerateCombinationObjects("${UL_SOURCES}" "LOWER" "U" "" 1 "" "" 3)
# objects that need TRANSA and UNIT set
# N.B. BLAS wants to put the U/L from the filename in the *MIDDLE* because of course why not have a different naming scheme for every single object -hpa
GenerateCombinationObjects("${NU_SOURCES}" "TRANSA;UNIT" "N;N" "" 3)
GenerateCombinationObjects("${NU_SOURCES}" "TRANSA;UNIT" "N;N" "" 3 "" "" 3)
# gbmv uses a lowercase n and t. WHY? WHO KNOWS!
GenerateNamedObjects("gbmv_k.c" "" "gbmv_n")
GenerateNamedObjects("gbmv_k.c" "TRANS" "gbmv_t")
GenerateNamedObjects("gbmv_k.c" "" "gbmv_n" false "" "" "" 3)
GenerateNamedObjects("gbmv_k.c" "TRANS" "gbmv_t" false "" "" "" 3)
if (SMP)