diff options
Diffstat (limited to 'homebrew/kahip/.make.sh-auto')
-rw-r--r-- | homebrew/kahip/.make.sh-auto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/kahip/.make.sh-auto b/homebrew/kahip/.make.sh-auto new file mode 100644 index 000000000..196b90356 --- /dev/null +++ b/homebrew/kahip/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +ENV["CC"] = Formula["gcc"].opt_bin/"gcc-#{Formula["gcc"].version_suffix}" +ENV["CXX"] = Formula["gcc"].opt_bin/"g++-#{Formula["gcc"].version_suffix}" +mkdir "build" && cd build +cmake -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} .. +make DESTDIR=${PKG_DEST} install |