@@ -73,7 +73,11 @@ lbt_handle = dlopen("$(lbt_prefix)/$(binlib)/lib$(lbt_link_name).$(shlib_ext)",
73
73
@test libs[1 ]. suffix == " "
74
74
@test libs[1 ]. interface == LBT_INTERFACE_LP64
75
75
end
76
- @test libs[1 ]. f2c == LBT_F2C_PLAIN
76
+ if (config. build_flags & LBT_BUILDFLAGS_F2C_CAPABLE) != 0
77
+ @test libs[1 ]. f2c == LBT_F2C_PLAIN
78
+ else
79
+ @test libs[1 ]. f2c == LBT_F2C_UNKNOWN
80
+ end
77
81
if Sys. ARCH ∈ (:x86_64 , :aarch64 )
78
82
if Sys. iswindows ()
79
83
@test libs[1 ]. complex_retstyle == LBT_COMPLEX_RETSTYLE_FNDA
@@ -96,7 +100,11 @@ lbt_handle = dlopen("$(lbt_prefix)/$(binlib)/lib$(lbt_link_name).$(shlib_ext)",
96
100
@test libs[2 ]. libname == OpenBLAS32_jll. libopenblas_path
97
101
@test libs[2 ]. suffix == " "
98
102
@test libs[2 ]. interface == LBT_INTERFACE_LP64
99
- @test libs[2 ]. f2c == LBT_F2C_PLAIN
103
+ if (config. build_flags & LBT_BUILDFLAGS_F2C_CAPABLE) != 0
104
+ @test libs[2 ]. f2c == LBT_F2C_PLAIN
105
+ else
106
+ @test libs[2 ]. f2c == LBT_F2C_UNKNOWN
107
+ end
100
108
101
109
# If OpenBLAS32 and OpenBLAS are the same interface (e.g. i686)
102
110
# then libs[2].active_forwards should be all zero!
@@ -114,7 +122,11 @@ lbt_handle = dlopen("$(lbt_prefix)/$(binlib)/lib$(lbt_link_name).$(shlib_ext)",
114
122
@test libs[1 ]. libname == OpenBLAS32_jll. libopenblas_path
115
123
@test libs[1 ]. suffix == " "
116
124
@test libs[1 ]. interface == LBT_INTERFACE_LP64
117
- @test libs[1 ]. f2c == LBT_F2C_PLAIN
125
+ if (config. build_flags & LBT_BUILDFLAGS_F2C_CAPABLE) != 0
126
+ @test libs[1 ]. f2c == LBT_F2C_PLAIN
127
+ else
128
+ @test libs[1 ]. f2c == LBT_F2C_UNKNOWN
129
+ end
118
130
end
119
131
120
132
@testset " get/set threads" begin
0 commit comments