Skip to content

Commit

Permalink
[PPC] Fix ARCH check for 128bit atomic test
Browse files Browse the repository at this point in the history
Apparently binaries build with gcc 4.8 have a different ARCH set then
binaries build with gcc 4.9.

(cherry picked from commit 32af90c)
x-ref: #18601
  • Loading branch information
vchuravy committed Oct 6, 2016
1 parent e8f6bf2 commit 99d0539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/threads.jl
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ let atomic_types = [Int8, Int16, Int32, Int64, Int128,
# Temporarily omit 128-bit types on 32bit x86
# 128-bit atomics do not exist on AArch32.
# And we don't support them yet on power.
if Sys.ARCH === :i686 || Sys.ARCH === :powerpc64le ||
startswith(string(Sys.ARCH), "arm")
if Sys.ARCH === :i686 || startswith(string(Sys.ARCH), "arm") ||
Sys.ARCH === :powerpc64le || Sys.ARCH === :ppc64le
filter!(T -> sizeof(T)<=8, atomic_types)
end
for T in atomic_types
Expand Down

0 comments on commit 99d0539

Please sign in to comment.