Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Dec 15, 2023
1 parent da9a2b8 commit e00c383
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions misc/conda/make_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ for nc in $NOCONDA; do
# Escape [ and ] for use in regex
nc=$(echo $nc | $SED -E 's/(\[|\])/\\\1/g')
# Add package to pip package list
PIPREQ="$PIPREQ "$(grep "$nc" $FLTREQUIRE)
PIPREQ="$PIPREQ "$(grep "$nc" $FLTREQUIRE | $SED 's/\\//g')
# Remove package $nc from conda package list
$SED -i "/^$nc.*\$/d" $FLTREQUIRE
done
Expand All @@ -176,8 +176,7 @@ if [ "$VERBOSE" == "yes" ]; then
echo "Packages to be installed via conda:"
echo " $CONDAREQ" | fmt -w 79
echo "Packages to be installed via pip:"
PIPREQSED=$(echo $PIPREQ | $SED 's/\\//g')
echo " jaxlib==$JLVER jax==$JXVER $PIPREQSED" | fmt -w 79
echo " jaxlib==$JLVER jax==$JXVER $PIPREQ" | fmt -w 79
if [ "$TEST" == "yes" ]; then
exit 0
fi
Expand Down

0 comments on commit e00c383

Please sign in to comment.