Fixed arm build and windows build server script

This commit is contained in:
BenDroid 2018-01-20 13:46:46 +01:00
parent b2301c07ca
commit ba3a62ca88
2 changed files with 4 additions and 3 deletions

View file

@ -31,7 +31,7 @@ build_script:
after_build: after_build:
- cd c:\xmrigCC - cd c:\xmrigCC
- cmd: 7z a xmrigCC-mvc-win64.zip "c:\xmrigCC\build\Release\*.*" "c:\xmrigCC\src\*config*" "c:\xmrigCC\index.html" - cmd: 7z a xmrigCC-mvc-win64.zip "c:\xmrigCC\build\Release\*.exe" "c:\xmrigCC\src\*config*" "c:\xmrigCC\index.html"
- cmd: dir - cmd: dir
artifacts: artifacts:

View file

@ -26,13 +26,14 @@
#include "Cpu.h" #include "Cpu.h"
#include "CpuImpl.h"
void CpuImpl::initCommon() void CpuImpl::initCommon()
{ {
memcpy(m_brand, "Unknown", 7); memcpy(m_brand, "Unknown", 7);
# if defined(XMRIG_ARMv8) # if defined(XMRIG_ARMv8)
m_flags |= X86_64; m_flags |= Cpu::X86_64;
m_flags |= AES; m_flags |= Cpu::AES;
# endif # endif
} }