<commit_before>#!/bin/sh

set -e -o pipefail -x

echo BUILDING GIT ANNEX

BINARY_HOME=$PREFIX/bin
PACKAGE_HOME=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM

mkdir -p $BINARY_HOME
mkdir -p $PACKAGE_HOME

export CPPFLAGS=-I${PREFIX}/include
export CFLAGS=-I${PREFIX}/include
export CXXFLAGS=-I${PREFIX}/include
export CPPFLAGS=-I${PREFIX}/include
export LDFLAGS=-L${PREFIX}/lib
export LIBRARY_PATH=${PREFIX}/lib

echo prefix is $PREFIX
echo env is
env
echo pkgs are
conda list

export STACK_ROOT=$PACKAGE_HOME/stackroot
mkdir -p $STACK_ROOT
#install_cabal_package --constraint 'fingertree<0.1.2.0' --constraint 'aws<0.17' --allow-newer=aws:time

STACK_OPTS="--local-bin-path ${PREFIX}/bin ${PREFIX}/lib --extra-include-dirs ${PREFIX}/include -v --stack-root ${STACK_ROOT}"
export DYNAMIC_GHC_PROGRAMS=NO
export DYNAMIC_TOO=NO
echo IS THERE GMP?
ls -alt $PREFIX/lib
echo ENV BEFORE SETUP
env

mkdir -p ${PREFIX}/bin
echo LOCALBINPATH IS ${PREFIX/bin}
ls -ld ${PREFIX}/bin
stack --version
stack ${STACK_OPTS} setup
stack path
stack ${STACK_OPTS} install --cabal-verbose --no-executable-stripping --ghc-options "-optl-static -v -optl-L${PREFIX}/lib"<commit_msg>fixed opts [skip appveyor][skip ci][ci skip]<commit_after>#!/bin/sh

set -e -o pipefail -x

echo BUILDING GIT ANNEX


BINARY_HOME=$PREFIX/bin
PACKAGE_HOME=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM

mkdir -p $BINARY_HOME
mkdir -p $PACKAGE_HOME

export CPPFLAGS=-I${PREFIX}/include
export CFLAGS=-I${PREFIX}/include
export CXXFLAGS=-I${PREFIX}/include
export CPPFLAGS=-I${PREFIX}/include
export LDFLAGS=-L${PREFIX}/lib
export LIBRARY_PATH=${PREFIX}/lib

echo prefix is $PREFIX
echo env is
env
echo pkgs are
conda list

export STACK_ROOT=$PACKAGE_HOME/stackroot
mkdir -p $STACK_ROOT
#install_cabal_package --constraint 'fingertree<0.1.2.0' --constraint 'aws<0.17' --allow-newer=aws:time

STACK_OPTS="--local-bin-path ${PREFIX}/bin --extra-include-dirs ${PREFIX}/include -v --stack-root ${STACK_ROOT}"
export DYNAMIC_GHC_PROGRAMS=NO
export DYNAMIC_TOO=NO
echo IS THERE GMP?
ls -alt $PREFIX/lib
echo ENV BEFORE SETUP
env

mkdir -p ${PREFIX}/bin
echo LOCALBINPATH IS ${PREFIX/bin}
ls -ld ${PREFIX}/bin
stack --version
stack ${STACK_OPTS} setup
stack path
stack ${STACK_OPTS} install --cabal-verbose --no-executable-stripping --ghc-options "-optl-static -v -optl-L${PREFIX}/lib"
{'fraction_non_alphanumeric': 0.1426131511528608, 'fraction_numerical': 0.005977796754910333, 'mean_word_length': 5.149606299212598, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4523121', 'n_tokens_mistral': 894, 'n_tokens_neox': 866, 'n_words': 211}