diff --git a/Makefile b/Makefile index a2d6c3a..84751d5 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,9 @@ setup-halide: ifeq ($(shell uname),Linux) sudo apt install libpng-dev libjpeg-dev clang g++ binutils else - brew install halide + brew install libpng + brew install jpeg + brew install pkg-config endif .PHONY: setup-halide-runtime_linux diff --git a/cli/genrun/genrun.go b/cli/genrun/genrun.go index ccfdf55..97cb46e 100644 --- a/cli/genrun/genrun.go +++ b/cli/genrun/genrun.go @@ -57,6 +57,8 @@ func generate(runtimePath, blurryPath, target string) (string, error) { "-I" + runtimePath + "/share/Halide/tools", "-L" + runtimePath + "/lib", libpngFlags, + "-L/usr/local/opt/jpeg/lib", + "-I/usr/local/opt/jpeg/include", "-ljpeg", "-lHalide", "-lpthread", diff --git a/version.go b/version.go index f6badfe..76317fd 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package blurry const ( AppName string = "blurry" - Version string = "1.20.1" + Version string = "1.20.2" )