Browse Source

updates for linux...

master
Joja Poppa 1 year ago
parent
commit
98a37f0f7e
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +4
    -2
      makexmr.sh

+ 1
- 1
CMakeLists.txt View File

@@ -50,7 +50,7 @@ else()
endif()

# option to add static libgcc and libstdc++
option(CMAKE_LINK_STATIC "link as much as possible libraries static" OFF)
option(CMAKE_LINK_STATIC "link as much as possible libraries static" ON)

################################################################################
# Find CUDA


+ 4
- 2
makexmr.sh View File

@@ -1,13 +1,15 @@
#!/bin/sh

#mac osx
from build...

Run from build!! folder
#from build...

# -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl (or some local folder...)
# May need this for Catalina support!!


cmake -DXMR-STAK_COMPILE=generic -DOpenCL_ENABLE=OFF -DCUDA_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF -DOpenSSL_ENABLE=OFF -DCMAKE_BUILD_TYPE=Release ..
cmake -DHWLOC_ENABLE=OFF -DXMR-STAK_COMPILE=generic -DOpenCL_ENABLE=OFF -DCUDA_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF -DOpenSSL_ENABLE=OFF -DCMAKE_BUILD_TYPE=Release ..
make




Loading…
Cancel
Save