forked from tpruvot/ccminer
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for native building on freebsd (#5)
* changed shebang to be universal * chris' changes to build on freebsd * autobuild script for freebsd * added note about freebsd building
- Loading branch information
1 parent
c4d7c74
commit 44e8ea9
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Simple script to create the Makefile and build | ||
|
||
# export PATH="$PATH:/usr/local/cuda/bin/" | ||
|
||
make distclean || echo clean | ||
|
||
rm -f Makefile.in | ||
rm -f config.status | ||
./autogen.sh || echo done | ||
|
||
# CFLAGS="-O2" ./configure | ||
./configure.sh | ||
|
||
gmake -j $(sysctl hw.ncpu|awk '{print $2}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
# Simple script to create the Makefile and build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters