summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Allow EXECUTABLE and LIBRARY paths to be setCraig Andrews2018-06-041-2/+2
|
* Use EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATHCraig Andrews2018-06-041-5/+5
| | | | Use EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to control the path to which the executable and libraries are installed.
* Ported xmr-stak 2.3.0 rc to ppc64leJudemir Ribeiro2018-04-011-9/+9
|
* XMR-Stak 2.3.0 RCxmr-stak-devs2018-03-251-14/+8
| | | | | | | 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>
* Busywork courtesy of Microsoftfireice-uk2017-12-261-4/+6
| | | | | | | | | | | Add messages Missing include 1
* fix static compile with non gnu compilerpsychocrypt2017-12-211-1/+3
| | | | remove adding compiler flags `-static-...` if compiler is not a gnu compiler
* Merge pull request #558 from juugcatm/patch-1psychocrypt2017-12-181-0/+2
|\ | | | | Update CMakeLists.txt
| * Again, fix spacingDerek Adams2017-12-171-2/+2
| | | | | | The github online editor is injecting tabs for some reason, fixed them.
| * Address reviewer comments.Derek Adams2017-12-171-1/+1
| | | | | | Adjust spacing and pathing based on review feedback.
| * Update CMakeLists.txtDerek Adams2017-12-141-0/+2
| | | | | | 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.
* | Merge pull request #549 from psychocrypt/fix-cuda91WindowsCompilefireice-uk2017-12-151-1/+3
|\ \ | | | | | | fix windows compile with CUDA 9.1
| * | fix windows compile with CUDA 9.1psychocrypt2017-12-141-1/+3
| |/ | | | | | | applay cmake patch for CUDA 9.0 also for CUDA 9.1
* | fix cuda9.1 compilepsychocrypt2017-12-141-1/+5
|/ | | | | - fix cuda9.1 compile (remove includ eof device_functions.hpp/ removed with cuda9.1) - remove NVIDIA Volta gpus for MAC OSX
* CMake: fix wrong variable namepsychocrypt2017-12-081-1/+1
| | | | | | change `MICROHTTPD_ROOT` to `HWLOC_ROOT` within the hwlock section thx @maztheman for spotting the bug
* allow to diable UAC dialogpsychocrypt2017-12-061-6/+0
| | | | | | | | - 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)
* avoid CMake warning: CMP0054psychocrypt2017-11-271-15/+15
| | | | | - 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)
* fix CMakepsychocrypt2017-11-271-2/+5
| | | | | - fix wrong compare for HWLOC not found - remove usage of microhttpd variable if microhttpd is disabled
* fix broken windows compile with v140psychocrypt2017-11-191-1/+1
| | | | add microhttpd libs explicit to `xmr-stak-c`
* fix OpenCL compatibilitypsychocrypt2017-11-181-6/+9
| | | | | | - 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
* check gpu architecturepsychocrypt2017-11-151-0/+4
| | | | | | - 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
* Merge pull request #103 from fireice-uk/topic-versioningfireice-uk2017-11-141-1/+35
|\ | | | | Versioning
| * fix compilepsychocrypt2017-11-111-1/+7
| | | | | | | | | | - generate define `BACKEND_TYPE` type in CMake - fix comile because `GIT_COMMIT_HASH` is no string
| * fix win buildUnknown2017-11-101-2/+2
| |
| * Define GIT_COMMIT_HASH via cmake or git archiveUnknown2017-11-101-0/+28
| |
* | native compile by defaultpsychocrypt2017-11-121-0/+11
|/ | | | | - add CMake flag `XMRSTAK_COMPILE` to select `native` or `static` compile - add new flags to the documentation
* fix windows CUDA 9 compilepsychocrypt2017-11-071-0/+6
| | | | | | | fix #91 - add CMake workaround for wrong host compiler for cuda - update winows compile documentation
* add `CMAKE_POSITION_INDEPENDENT_CODE`psychocrypt2017-11-011-0/+2
| | | | 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`
* fix OSX compilepsychocrypt2017-10-311-6/+2
| | | | - link `xmr-stak-backend` to `xmrstak_cuda_backend` to solve missing symboles
* rename `xmr` to `monero`psychocrypt2017-10-271-6/+6
| | | | | | - rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
* add CMake option XMR-STAK_CURRENCYpsychocrypt2017-10-271-0/+13
|
* prefere AMD OpenCL over NVIDIA, Intelpsychocrypt2017-10-231-0/+32
| | | | | | fix #56 Search for AMD OpenCL inlcude path and libaries to prioritize the AMD implementation over NVIDIA and Intel.
* add NVIDIA Volta supportpsychocrypt2017-10-201-0/+4
| | | | add `sm_70` if CUDA 9+ is avalable
* Re-add UAC manifest and WIN_UAC cmake optionfireice-uk2017-10-141-0/+6
|
* Merge pull request #35 from psychocrypt/fix-cuda7_5Compilefireice-uk2017-10-111-1/+5
|\ | | | | fix cuda 7.5 compile
| * fix cuda 7.5 compilepsychocrypt2017-10-111-1/+5
| | | | | | | | fix error: `identifier "__builtin_ia32_monitorx" is undefined`
* | fix CMake find package outputpsychocrypt2017-10-101-4/+12
|/ | | | | | | fix #3 - remove QUIET from find package for OpenCL and CUDA - remove pascal architecture from default CUDA_ARCH for CUDA < 8.0
* Lots of little cleanup changesfireice-uk2017-10-041-1/+1
|
* enable C++11 for nvccpsychocrypt2017-10-011-1/+1
|
* fix CIpsychocrypt2017-09-301-0/+2
| | | | | - fix windows CI - add CUDA to linux CI
* fix clang CUDA compilepsychocrypt2017-09-301-8/+25
| | | | | | - add clang compile section - cleanup CMake file - fix missing return value
* rename binary to xmr-stakpsychocrypt2017-09-301-4/+5
| | | | - add pseudo install rule to CMake
* update xmake filepsychocrypt2017-09-301-13/+15
|
* group filespsychocrypt2017-09-301-5/+17
| | | | | | | - 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`
* config as templatepsychocrypt2017-09-301-9/+0
| | | | | - create config on startup - remove copy `config.txt` on `make install`
* fix opencl for windowspsychocrypt2017-09-301-3/+0
| | | | | - splitt literal to smaller chunks (windows only support 16k literals) - remove copy command for opencl folder
* improve auto suggestionpsychocrypt2017-09-301-0/+5
| | | | | | - 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
* fix windows compilepsychocrypt2017-09-301-2/+2
| | | | | | - fix build documentation - fix plugin load methods - fix symbol export for plugins
* add option to disable CPU backendpsychocrypt2017-09-301-2/+11
|
* add CMake flags to disable backendspsychocrypt2017-09-301-78/+88
| | | | | - add `CUDA_ENABLE` - add `OpenCL_ENABLE`
* fix windows supportpsychocrypt2017-09-301-22/+57
| | | | - fix broken windows support
OpenPOWER on IntegriCloud