Commit 2cec89a0 authored by Frank Barchard's avatar Frank Barchard Committed by Commit Bot

Add comment in Makefile OpenMP for MacOS

Add a comment in util/Makefile for how to enable
OpenMP for MacOS.  Requires updated gcc or clang compile.

Bug: None
Test: /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -static-libgcc -o psnr_omp psnr.cc ssim.cc psnr_main.cc
Change-Id: Icb3389bf8cf94f09a185fea055c69823b9fbc66b
time ./psnr_omp  -ssim -s 1920 1080 ~/test/garden2_mp4.yuv ~/test/garden2_ogv.yuv
Reviewed-on: https://chromium-review.googlesource.com/807546Reviewed-by: 's avatarWeiyong Yao <braveyao@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
parent 49d9b103
...@@ -4,3 +4,6 @@ ifeq ($(CXX),icl) ...@@ -4,3 +4,6 @@ ifeq ($(CXX),icl)
else else
$(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all $(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
endif endif
# for MacOS
# /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -Bstatic -o psnr psnr.cc ssim.cc psnr_main.cc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment