68 Commits
Author SHA1 Message Date
1e7911e653 XMR-Stak 2.3.0 RC
Co-authored-by: psychocrypt <psychocryptHPC@gmail.com>
Co-authored-by: fireice-uk <fireice-uk@users.noreply.github.com>
Co-authored-by: Lee Clagett <code@leeclagett.com>
Co-authored-by: curie-kief <curie-kief@users.noreply.github.com>
2018-03-25 13:28:40 +01:00
fireice-uk b216f39a52 Busywork courtesy of Microsoft
Add messages


Missing include


1
2017-12-26 21:11:22 +00:00
psychocrypt 38a320c177 fix static compile with non gnu compiler
remove adding compiler flags `-static-...` if compiler is not a gnu compiler
2017-12-21 22:45:39 +01:00
psychocryptandGitHub 8e38483d0c Merge pull request #558 from juugcatm/patch-1
Update CMakeLists.txt
2017-12-18 21:21:59 +01:00
Derek AdamsandGitHub 4515d65f92 Again, fix spacing
The github online editor is injecting tabs for some reason, fixed them.
2017-12-17 17:25:38 -08:00
Derek AdamsandGitHub a5a8845699 Address reviewer comments.
Adjust spacing and pathing based on review feedback.
2017-12-17 17:24:21 -08:00
fireice-ukandGitHub ca2889da21 Merge pull request #549 from psychocrypt/fix-cuda91WindowsCompile
fix windows compile with CUDA 9.1
2017-12-15 22:36:20 +00:00
Derek AdamsandGitHub 73de502585 Update CMakeLists.txt
Installed xmr-stak on fresh Ubuntu 16.04 with just AMDGPU-PRO and required these changes and use of OpenCL_ROOT=/opt/amdgpu-pro for successful compilation with OpenCL. Also requires the opencl-headers package from Ubuntu's repository.
2017-12-14 23:20:25 -08:00
psychocrypt 31c7598168 fix windows compile with CUDA 9.1
applay cmake patch for CUDA 9.0 also for CUDA 9.1
2017-12-14 22:31:59 +01:00
psychocrypt 74378a5ab5 fix cuda9.1 compile
- fix cuda9.1 compile (remove includ eof device_functions.hpp/ removed with cuda9.1)
- remove NVIDIA Volta gpus for MAC OSX
2017-12-14 21:27:19 +01:00
psychocrypt 75409342d5 CMake: fix wrong variable name
change `MICROHTTPD_ROOT` to `HWLOC_ROOT` within the hwlock section

thx @maztheman for spotting the bug
2017-12-08 20:51:27 +01:00
psychocrypt 7ca6f6e2e9 allow to diable UAC dialog
- remove CMake option `WIN_UAC`
- spawn UAC dialog via restarting xmr-miner with administrator right
- allow to disable UAC with `--noUAC`
- update documentation
- remove usage section with help message (output depends on OS)
2017-12-06 22:21:48 +01:00
psychocrypt 2de72bf5e6 avoid CMake warning: CMP0054
- remove all `"${VARNAME}` usages in if conditions
- increase cmake minimum version to 3.1 to have the new behavior of [CMP0054](https://cmake.org/cmake/help/v3.1/policy/CMP0054.html)
2017-11-27 21:44:41 +01:00
psychocrypt 47a487a4a9 fix CMake
- fix wrong compare for HWLOC not found
- remove usage of microhttpd variable if microhttpd is disabled
2017-11-27 21:25:03 +01:00
psychocrypt c85d4d08af fix broken windows compile with v140
add microhttpd libs explicit to `xmr-stak-c`
2017-11-19 13:25:51 +01:00
psychocrypt 7e8475ab30 fix OpenCL compatibility
- enforce that only host side OpenCl 1.2 functions are used if the miner is compiled with `XMR-STAK_COMPILE=generic`
- update documentation
- add CMake option `XMR-STAK_COMPILE` to windows
2017-11-18 21:24:42 +01:00
psychocrypt 70737c8d1a check gpu architecture
- check if the gpu architecture is supported by the compiled miner binary
- remove not supported gpus from the auto suggestion
- disallow the selection of a not supported gpu by hand tuning the config
2017-11-15 16:29:41 +01:00
fireice-ukandGitHub 288363814f Merge pull request #103 from fireice-uk/topic-versioning
Versioning
2017-11-14 11:01:57 +00:00
psychocrypt fa752284bb native compile by default
- add CMake flag `XMRSTAK_COMPILE` to select `native` or `static` compile
- add new flags to the documentation
2017-11-12 21:32:53 +01:00
psychocrypt 062287ad47 fix compile
- generate define `BACKEND_TYPE` type in CMake
- fix comile because `GIT_COMMIT_HASH` is no string
2017-11-11 22:19:43 +01:00
Unknown 71c4e937ae fix win build 2017-11-10 21:18:01 +00:00
Unknown 0bae47a754 Define GIT_COMMIT_HASH via cmake or git archive 2017-11-10 19:19:07 +00:00
psychocrypt 787ce4a146 fix windows CUDA 9 compile
fix #91

- add CMake workaround for wrong host compiler for cuda
- update winows compile documentation
2017-11-07 22:52:40 +01:00
psychocrypt 56706805b4 add CMAKE_POSITION_INDEPENDENT_CODE
fix `/usr/bin/ld: bin/libxmr-stak-backend.a(jconf.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC`
2017-11-01 08:53:40 +01:00
psychocrypt 59a1531649 fix OSX compile
- link `xmr-stak-backend` to `xmrstak_cuda_backend` to solve missing symboles
2017-10-31 21:36:00 +01:00
psychocrypt 12802f12e3 rename xmr to monero
- rename all `xmr` to `monero`
- be insensitive while check for set currency
- add function to compate two strings insensitive
2017-10-27 20:13:19 +02:00
psychocrypt b0bb9579bb add CMake option XMR-STAK_CURRENCY 2017-10-27 20:12:01 +02:00
psychocrypt 227aee84e2 prefere AMD OpenCL over NVIDIA, Intel
fix #56

Search for AMD OpenCL inlcude path and libaries to prioritize the AMD implementation over NVIDIA and Intel.
2017-10-23 09:39:41 +02:00
psychocrypt d7209b21fd add NVIDIA Volta support
add `sm_70` if CUDA 9+ is avalable
2017-10-20 21:17:08 +02:00
fireice-uk 1fc87d737f Re-add UAC manifest and WIN_UAC cmake option 2017-10-14 14:44:34 +01:00
fireice-ukandGitHub b40f937bf5 Merge pull request #35 from psychocrypt/fix-cuda7_5Compile
fix cuda 7.5 compile
2017-10-11 22:39:22 +01:00
psychocrypt 8d313484e4 fix cuda 7.5 compile
fix error: `identifier "__builtin_ia32_monitorx" is undefined`
2017-10-11 21:25:48 +02:00
psychocrypt e52d04fb23 fix CMake find package output
fix #3

- remove QUIET from find package for OpenCL and CUDA
- remove pascal architecture from default CUDA_ARCH for CUDA < 8.0
2017-10-10 21:26:15 +02:00
fireice-uk 177f3e676c Lots of little cleanup changes 2017-10-04 21:54:48 +01:00
psychocrypt 8fd095e97a enable C++11 for nvcc 2017-10-01 00:02:24 +02:00
psychocrypt b1ee3d2184 fix CI
- fix windows CI
- add CUDA to linux CI
2017-09-30 23:53:08 +02:00
psychocrypt 75fa2c7ec0 fix clang CUDA compile
- add clang compile section
- cleanup CMake file
- fix missing return value
2017-09-30 23:46:08 +02:00
psychocrypt a3c034e46a rename binary to xmr-stak
- add pseudo install rule to CMake
2017-09-30 23:46:08 +02:00
psychocrypt 4526840bb6 update xmake file 2017-09-30 23:46:08 +02:00
psychocrypt cc429b68fa group files
- move source code to `src`
- categorize files and move to group folder
- change upper case class files to lower case
- change C++ header to `*.hpp`
2017-09-30 23:46:08 +02:00
psychocrypt 39d144639f config as template
- create config on startup
- remove copy `config.txt` on `make install`
2017-09-30 23:46:08 +02:00
psychocrypt 0938fd9836 fix opencl for windows
- splitt literal to smaller chunks (windows only support 16k literals)
- remove copy command for opencl folder
2017-09-30 23:46:08 +02:00
psychocrypt 990c357cc9 improve auto suggestion
- amd/nvidia add hard limit that 64MiB memory keeps free
- improve nvidia auto suggestion (take care of lmem)
- add c++11 flag to nvidia compiler
2017-09-30 23:46:08 +02:00
psychocrypt ef551cc032 fix windows compile
- fix build documentation
- fix plugin load methods
- fix symbol export for plugins
2017-09-30 23:46:08 +02:00
psychocrypt 2c5c6f382a add option to disable CPU backend 2017-09-30 23:46:08 +02:00
psychocrypt 47a9063e27 add CMake flags to disable backends
- add `CUDA_ENABLE`
- add `OpenCL_ENABLE`
2017-09-30 23:46:08 +02:00
psychocrypt 9967fbb0b0 fix windows support
- fix broken windows support
2017-09-30 23:46:08 +02:00
psychocrypt 652b79f684 update CMake 2017-09-30 23:46:08 +02:00
dp770andGitHub 8433e247df Env variable "MICROHTTPD_ROOT" is ignored by cmake
Fixing bug in CMakeLists.txt preventing to pick up microhttpd library root as defined in environment variable "MICROHTTPD_ROOT"
Example: "export MICROHTTPD_ROOT=/opt/gnu/libmicrohttpd-0.9.55" will be ignored without this fix
2017-09-12 22:36:05 +01:00
fireice-uk acdc560b8a Amend cmake to skip GCC options for MSVC 2017-07-18 17:11:10 +01:00