Skip to content

Commit

Permalink
brew style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Dec 15, 2022
1 parent d88a8fb commit 3728fe8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Formula/csdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def install
inreplace "Makefile", /-ansi/, ""
if OS.mac?
libomp = Formula["libomp"]
ENV["OpenMP_C_FLAGS"] = "-Xpreprocessor\ -fopenmp\ -I#{libomp.opt_include}"
ENV["OpenMP_C_LDLIBS"] = "-L#{libomp.opt_lib}\ -lomp"
ENV["OpenMP_C_FLAGS"] = "-Xpreprocessor -fopenmp -I#{libomp.opt_include}"
ENV["OpenMP_C_LDLIBS"] = "-L#{libomp.opt_lib} -lomp"
ENV["LA_LIBRARIES"] = "-framework Accelerate"
else
ENV["OpenMP_C_FLAGS"] = "-fopenmp"
Expand Down
2 changes: 1 addition & 1 deletion Formula/fflas-ffpack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def install
ENV.cxx11
if OS.mac?
libomp = Formula["libomp"]
ENV["OMPFLAGS"] = "-Xpreprocessor\ -fopenmp\ -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
ENV["OMPFLAGS"] = "-Xpreprocessor -fopenmp -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
else
ENV["OMPFLAGS"] = "-fopenmp"
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/msolve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Msolve < Formula
def install
if OS.mac?
libomp = Formula["libomp"]
ENV["OPENMP_CFLAGS"] = "-Xpreprocessor\ -fopenmp\ -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
ENV["OPENMP_CFLAGS"] = "-Xpreprocessor -fopenmp -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
end

system "autoreconf", "-vif"
Expand Down
2 changes: 1 addition & 1 deletion Formula/normaliz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def install
ENV.cxx11
if OS.mac?
libomp = Formula["libomp"]
ENV["OPENMP_CXXFLAGS"] = "-Xpreprocessor\ -fopenmp\ -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
ENV["OPENMP_CXXFLAGS"] = "-Xpreprocessor -fopenmp -I#{libomp.opt_include} #{libomp.opt_lib}/libomp.dylib"
else
ENV["OPENMP_CXXFLAGS"] = "-fopenmp"
end
Expand Down

0 comments on commit 3728fe8

Please sign in to comment.