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/807546
Reviewed-by: Weiyong Yao <braveyao@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
Frank Barchard 2017-12-04 17:09:40 -08:00 committed by Commit Bot
parent 49d9b1039b
commit 2cec89a0d3

View File

@ -4,3 +4,6 @@ ifeq ($(CXX),icl)
else
$(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
endif
# for MacOS
# /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -Bstatic -o psnr psnr.cc ssim.cc psnr_main.cc