mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Remove scripts that make it too easy to compile CPU mining support.
This commit is contained in:
parent
1a8bfad0a0
commit
00f7688142
@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
bs_dir="$(dirname $(readlink -f $0))"
|
||||
build_dir="$PWD"
|
||||
rm -rf "${bs_dir}"/autom4te.cache
|
||||
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
|
||||
|
||||
echo 'Running autoreconf -ifv...'
|
||||
autoreconf -ifv -I "/usr/local/share/aclocal/" "$bs_dir" || exit 1
|
||||
|
||||
if test -z "$NOCONFIGURE" ; then
|
||||
echo 'Configuring...'
|
||||
|
||||
if [[ "$bs_dir" != "`pwd`" ]]; then
|
||||
export CPPFLAGS+=" -I $bs_dir"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$CGMINER_SDK" ]]; then
|
||||
export CPPFLAGS="-I $CGMINER_SDK/include $CPPFLAGS"
|
||||
export LDFLAGS="-L $CGMINER_SDK/lib $LDFLAGS"
|
||||
export PKG_CONFIG_PATH="$CGMINER_SDK/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
|
||||
export ADL_SDK="$CGMINER_SDK/include/ADL_SDK"
|
||||
fi
|
||||
|
||||
CFLAGS="-O3 -msse2" \
|
||||
"$bs_dir"/configure \
|
||||
--prefix="$build_dir"/opt \
|
||||
--enable-cpumining \
|
||||
--enable-scrypt \
|
||||
--enable-bitforce \
|
||||
--enable-icarus \
|
||||
--enable-modminer \
|
||||
--enable-ztex \
|
||||
$@
|
||||
fi
|
@ -1,36 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
bs_dir="$(dirname $(readlink -f $0))"
|
||||
build_dir="$PWD"
|
||||
rm -rf "${bs_dir}"/autom4te.cache
|
||||
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
|
||||
|
||||
echo 'Running autoreconf -ifv...'
|
||||
autoreconf -ifv -I "/usr/local/share/aclocal/" "$bs_dir" || exit 1
|
||||
|
||||
if test -z "$NOCONFIGURE" ; then
|
||||
echo 'Configuring...'
|
||||
|
||||
if [[ "$bs_dir" != "`pwd`" ]]; then
|
||||
export CPPFLAGS+=" -I $bs_dir"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$CGMINER_SDK" ]]; then
|
||||
export CPPFLAGS="-I $CGMINER_SDK/include $CPPFLAGS"
|
||||
export LDFLAGS="-L $CGMINER_SDK/lib64 $LDFLAGS"
|
||||
export PKG_CONFIG_PATH="$CGMINER_SDK/lib64/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
|
||||
export ADL_SDK="$CGMINER_SDK/include/ADL_SDK"
|
||||
fi
|
||||
|
||||
CFLAGS="-O3 -msse4" \
|
||||
"$bs_dir"/configure \
|
||||
--target=x86_64-w64-mingw32 \
|
||||
--prefix="$build_dir"/opt \
|
||||
--enable-cpumining \
|
||||
--enable-scrypt \
|
||||
--enable-bitforce \
|
||||
--enable-icarus \
|
||||
--enable-modminer \
|
||||
--enable-ztex \
|
||||
$@
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user