Skip to content

Commit

Permalink
README typo, Makefile.in (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwb committed Nov 27, 2023
1 parent 7e9d88c commit bdda6bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ If you want to install it so it is available anywhere in your system, do:
make
sudo make install

5. Install nlopt. Get armadillo from the `deps` directory or go to http://ab-initio.mit.edu/wiki/index.php/NLopt#Download_and_installation and download the latest (probably nlopt-2.4.2.tar.gz). Untar and browse in the terminal to that directory:
5. Install nlopt. Get nlopt from the `deps` directory or go to http://ab-initio.mit.edu/wiki/index.php/NLopt#Download_and_installation and download the latest (probably nlopt-2.4.2.tar.gz). Untar and browse in the terminal to that directory:

./configure --without-octave --without-matlab
make
Expand Down
7 changes: 6 additions & 1 deletion src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ ifeq "$(HOMP)" "Y"
endif

ifneq "$(CXX)" "icc"
OPT_FLAGS += -ffast-math -ftree-vectorize
OPT_FLAGS += -ftree-vectorize
ifneq ($(filter @host_cpu@,i386 i486 i586 i686),)
OPT_FLAGS += -ffloat-store
else
OPT_FLAGS += -ffast-math
endif
endif

NLOPT_PROGRAMS :=
Expand Down

0 comments on commit bdda6bf

Please sign in to comment.