diff options
Diffstat (limited to 'homebrew/boostmpi/.make.sh-auto')
-rw-r--r-- | homebrew/boostmpi/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/boostmpi/.make.sh-auto b/homebrew/boostmpi/.make.sh-auto new file mode 100644 index 000000000..c1dc8ab31 --- /dev/null +++ b/homebrew/boostmpi/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +args = ["--prefix=#{prefix}", "--libdir=#{lib}", "-d2", "-j#{ENV.make_jobs}", "--layout=tagged-1.66", "--user-config=user-config.jam", "threading=multi,single", "link=shared,static"] +args << "cxxflags=-std=c++11" +if ENV.compiler == :clang +args << "cxxflags=-stdlib=libc++" << "linkflags=-stdlib=libc++" +end +open("user-config.jam", "a") do |file| +file.write "using darwin : : #{ENV.cxx} ;\n" +file.write "using mpi ;\n" |