diff options
Diffstat (limited to 'homebrew/ispc/.make.sh-auto')
-rw-r--r-- | homebrew/ispc/.make.sh-auto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/ispc/.make.sh-auto b/homebrew/ispc/.make.sh-auto new file mode 100644 index 000000000..0baa55c12 --- /dev/null +++ b/homebrew/ispc/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +inreplace "cmake/GenerateBuiltins.cmake", "${CLANG_EXECUTABLE}", "${CLANG_EXECUTABLE} -I#{MacOS.sdk_path}/usr/include" +args = std_cmake_args + %W[-DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_TESTS=OFF -DISPC_INCLUDE_UTILS=OFF -DLLVM_TOOLS_BINARY_DIR='#{Formula["llvm@4"]}' ] +mkdir "build" && cd build +cmake *args .. +make +make DESTDIR=${PKG_DEST} install |