Skip to content

Commit

Permalink
upgrade numpy after make system arras-energy#951
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLeu76 committed Jan 3, 2022
1 parent b99f497 commit 03e072e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ if [ ! -f "configure" -o "$QUICK" == "no" ]; then
fi

NPROC=1
SYSTEM=$(uname -s)

if [ "$PARALLEL" == "yes" ]; then
if [ "$SYSTEM" == "Linux" ]; then
NPROC=$(lscpu | grep '^CPU(s):' | cut -f2- -d' ')
Expand All @@ -328,8 +328,8 @@ fi
export PATH=/usr/local/bin:/usr/bin:/bin
run make -j$((3*$NPROC))
run make install
# update numpy after make install
/usr/local/bin/python3 -m pip install --upgrade numpy
# upgrade numpy after make install
/usr/local/bin/python3 -m pip install --upgrade numpy
if [ "$DOCS" == "yes" ]; then
run make html
run cp -r "documents/html" "$INSTALL"
Expand Down

0 comments on commit 03e072e

Please sign in to comment.