Commit Graph
52 Commits
Author SHA1 Message Date
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
fireice-uk d189f14441 Windows cmake fix and .gitignore to match WINDOWS.md 2017-07-18 16:44:49 +01:00
psychocrypt ab9604d86f CMake: change GCC to g++ warning 2017-07-12 22:18:55 +02:00
psychocrypt d46e805d02 add Windows VS2017 support
- add windows socket libraries
- search for windows name of all dependencies
- add missing link step to the intermediate static library
2017-06-15 22:23:06 +02:00
psychocrypt d7788995c2 hwloc autoadjust
- `CMakeLists.txt` add find code to search for `hwloc`
- `autoAdjustHwloc.hpp` search optimal config based on hwloc topology
- update `README.txt`
2017-05-13 21:30:59 +02:00
psychocrypt b352b360e1 allow to fully disable OpenSSL and microhttpd
- rename option `*_REQUIRED` to `*_ENABLE`
- allow to disable the dependency OpenSSL and microhttpd
2017-05-01 21:15:52 +02:00
psychocrypt 35b35d6eea fix wrong naming in CMake install 2017-04-28 19:34:59 +02:00
fireice-uk 37065f425d Apply psychocrypt's build solution to the template 2017-04-24 20:53:17 +01:00
fireice-uk 741bee2e2f Windows build fix + gcc cmake opts 2017-04-21 17:43:47 +01:00
psychocrypt 015111fae6 allow optional static linking
- add cmake option `CMAKE_LINK_STATIC`
- add missing `CMAKE_C_FLAGS`
- change documentation
2017-04-20 21:21:10 +02:00
psychocrypt 91fd7e20b1 always build feature complete
- throw an error if a compile dependancy is not fullfilled
- add options to disable hard compile dependancies
2017-04-19 21:42:29 +02:00
psychocrypt a8d40d15fd refactor CMake
- allow compiling without microhttpd
- allow compiling without OpenSSL
- install `config.txt` with command `make install`
2017-04-12 21:15:36 +02:00
fireice-uk d4d3048e87 Official MAC build step 1 2017-03-17 17:51:00 +00:00
fireice-uk f84ed4b9a8 Include OpenSSL in CMake 2017-02-12 16:40:37 +00:00
Jeffrey Quesnelle 700d46cb86 updates *nix build files 2017-01-17 23:57:06 -05:00
fireice-uk 9c9df104bd Further httpd integration 2017-01-16 00:59:05 +00:00
dimecoinandGitHub 07c0252e84 Update static flags to fix seg fault
-static will compile, but causes a segment fault on both build and target. Using the new flags compiles cleanly and runs on both build and target. (Build = debian sid [test], Target= debian jessie [stable])
2017-01-13 13:18:47 -06:00