Skip to content

Commit

Permalink
Fixed windows argon libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerDan committed Feb 6, 2018
1 parent 349a1ea commit d0b0bb4
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions arionum-miner/src/main/bin/pick-argon.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
@Echo OFF
echo This runscript will attempt to pick the best custom version of argon2i for use with this miner.
echo It will also modify the run.bat file to use the built version of argon2i.
echo Note that this script will launch a powershell in administrator mode. Please give it permission.

sleep 5

@Echo OFF
pause

set scriptFileName=%~n0
set scriptFolderPath=%~dp0
Expand Down
7 changes: 2 additions & 5 deletions arionum-miner/src/main/bin/pick-argon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,18 @@ cd Coreinfo

$extensions = .\Coreinfo.exe /accepteula

# $avx512f = select-string -Pattern "AVX512F" -InputObject $extensions
$avx512f = select-string -Pattern "AVX512F" -InputObject $extensions
$avx2 = select-string -Pattern "AVX2" -InputObject $extensions
$avx = select-string -Pattern "AVX" -InputObject $extensions

cd ..

<#
if (-not ([string]::IsNullOrEmpty($avx512f)))
{
echo "Found AVX512F extensions."
cp src\main\resources\win32-x86-64\argon2-avx512f.dll argon2.dll
}
else
#>
if (-not ([string]::IsNullOrEmpty($avx2)))
elseif (-not ([string]::IsNullOrEmpty($avx2)))
{
echo "Found AVX2 extensions."
cp src\main\resources\win32-x86-64\argon2-avx2.dll argon2.dll
Expand Down
Binary file modified arionum-miner/src/main/resources/win32-x86-64/argon2-avx.dll
Binary file not shown.
Binary file modified arionum-miner/src/main/resources/win32-x86-64/argon2-avx2.dll
Binary file not shown.
Binary file not shown.
Binary file modified arionum-miner/src/main/resources/win32-x86-64/argon2-generic.dll
Binary file not shown.
Binary file modified arionum-miner/src/main/resources/win32-x86-64/argon2.dll
Binary file not shown.

0 comments on commit d0b0bb4

Please sign in to comment.