summaryrefslogtreecommitdiff
path: root/homebrew/embree/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/embree/.beer')
-rw-r--r--homebrew/embree/.beer40
1 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/embree/.beer b/homebrew/embree/.beer
new file mode 100644
index 000000000..7d9fe3670
--- /dev/null
+++ b/homebrew/embree/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "Embree",
+ "description": "High-performance ray tracing kernels",
+ "url": "https://github.com/embree/embree/archive/v3.5.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://embree.github.io/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "ispc",
+ "build-depend": true
+ },
+ {
+ "depend": "tbb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "max_isa = MacOS.version.requires_sse42? ? \"SSE4.2\" : \"SSE2\"",
+ "args = std_cmake_args + %W[",
+ "-DBUILD_TESTING=OFF",
+ "-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF",
+ "-DEMBREE_ISPC_SUPPORT=ON",
+ "-DEMBREE_MAX_ISA=#{max_isa}",
+ "-DEMBREE_TUTORIALS=OFF",
+ "]",
+ "mkdir \"build\" do",
+ "system \"cmake\", *args, \"..\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.5.0",
+ "file": "embree.rb"
+} \ No newline at end of file