File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name = " BinaryBuilderBase"
2
2
uuid = " 7f725544-6523-48cd-82d1-3fa08ff4056e"
3
3
authors = [
" Elliot Saba <[email protected] >" ]
4
- version = " 1.0.0 "
4
+ version = " 1.0.1 "
5
5
6
6
[deps ]
7
7
CodecZlib = " 944b1d66-785c-5afd-91f1-9de20f533193"
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
219
219
if lock_microarchitecture
220
220
write (io, raw """
221
221
if [[ " ${ARGS[@]} " == *"-march="* ]]; then
222
- echo "Cannot force an architecture" >&2
222
+ echo "BinaryBuilder: Cannot force an architecture" >&2
223
223
exit 1
224
224
fi
225
225
""" )
@@ -229,7 +229,7 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
229
229
if no_soft_float
230
230
write (io, raw """
231
231
if [[ " ${ARGS[@]} " == *"-mfloat-abi=soft"* ]]; then
232
- echo "${target} platform does not support soft-float ABI" >&2
232
+ echo "BinaryBuilder: ${target} platform does not support soft-float ABI" >&2
233
233
exit 1
234
234
fi
235
235
""" )
@@ -239,7 +239,7 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
239
239
if length (unsafe_flags) >= 1
240
240
write (io, """
241
241
if [[ "\$ {ARGS[@]}" =~ \" $(join (unsafe_flags, " \" |\" " )) \" ]]; then
242
- echo -e \" You used one or more of the unsafe flags: $(join (unsafe_flags, " , " )) \\ nPlease repent.\" >&2
242
+ echo -e \" BinaryBuilder: You used one or more of the unsafe flags: $(join (unsafe_flags, " , " )) \\ nPlease repent.\" >&2
243
243
exit 1
244
244
fi
245
245
""" )
Original file line number Diff line number Diff line change 270
270
iobuff = IOBuffer ()
271
271
@test ! run (ur, cmd, iobuff; tee_stream= devnull )
272
272
seekstart (iobuff)
273
- @test readlines (iobuff)[2 ] == " Cannot force an architecture"
273
+ @test readlines (iobuff)[2 ] == " BinaryBuilder: Cannot force an architecture"
274
274
275
275
ur = preferred_runner ()(dir; platform= platform, lock_microarchitecture= false )
276
276
iobuff = IOBuffer ()
289
289
@test ! run (ur, cmd, iobuff; tee_stream= devnull )
290
290
seekstart (iobuff)
291
291
lines = readlines (iobuff)
292
- @test lines[2 ] == " You used one or more of the unsafe flags: -Ofast, -ffast-math, -funsafe-math-optimizations"
292
+ @test lines[2 ] == " BinaryBuilder: You used one or more of the unsafe flags: -Ofast, -ffast-math, -funsafe-math-optimizations"
293
293
@test lines[3 ] == " Please repent."
294
294
295
295
ur = preferred_runner ()(dir; platform= platform, allow_unsafe_flags= true )
You can’t perform that action at this time.
0 commit comments