change search of ampl-mp and modify makefile asl
@@ -4,14 +4,15 @@ cd third_party/ASL
./getASL.sh
cd solvers
./configurehere
+find . -name "makefile" -exec sed -i "s/CFLAGS = -DNo_dtoa -fPIC -O/CFLAGS = -fPIC -O/g" {} \;
make
cd ../../../
mkdir build
cd build
echo "LOOKING FOR ampl-mp"
-find / -type d -name "ampl-mp*"
-mp_dir=$(find / -type d -name "ampl-mp*")
+find /opt/conda/pkgs -type d -name "ampl-mp*"
+mp_dir=$(find /opt/conda/pkgs -type d -name "ampl-mp*")
echo $mp_dir
cmake .. -DMP_PATH=$mp_dir
