Skip to content

Commit

Permalink
Merge pull request #24 from pthariensflame/patch-1
Browse files Browse the repository at this point in the history
Fix AArch32 ARCH detection logic
  • Loading branch information
sunoru authored Apr 29, 2024
2 parents e9180d7 + cd3cb9c commit a2d8e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Random123.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ else
end

"True when Arm AArch64 FEAT_AES instructions have been detected."
const R123_USE_ARM_AARCH64_FEAT_AES::Bool = if Sys.ARCH :aarch64
const R123_USE_ARM_AARCH64_FEAT_AES::Bool = @static if Sys.ARCH :aarch64
try
cmd = Base.julia_cmd()
push!(
Expand All @@ -73,7 +73,7 @@ else
end

"True when Arm AArch32 FEAT_AES instructions have been detected."
const R123_USE_ARM_AARCH32_FEAT_AES::Bool = if Sys.ARCH :aarch64
const R123_USE_ARM_AARCH32_FEAT_AES::Bool = @static if startswith(String(Sys.ARCH), "arm")
try
cmd = Base.julia_cmd()
push!(
Expand Down

0 comments on commit a2d8e43

Please sign in to comment.