diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-30 16:02:37 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-30 16:09:57 +0000 |
commit | 7c7b79cae6302999851230cf1d186ad5153b99a9 (patch) | |
tree | b0176d881511291029379c90be837004d4dc821d /configure | |
parent | d068937a9fe037871fa89759122fc7df9056683d (diff) |
Setting libgit2 to build statically in any case
On the Libgit2 webpage, it has recommended to build it statically on Mac
systems. By default we are doing this on Linux systems, but the `-static'
flag failed on Mac. But apparently CMake might be able to deal with the
issue in a different way.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -591,8 +591,8 @@ fi # some versions of Make complain about not having enough 'pipe' (memory) on # some systems. After some searching, I found out its because of too many # threads. -if which nproc 2> /dev/null; then numthreads=$(nproc --all); -else numthreads=4; +if which nproc &> /dev/null; then numthreads=$(nproc --all); +else numthreads=2; fi make -f reproduce/src/make/dependencies-basic.mk \ static_build=$static_build -j$numthreads |