lang/opensycl: Fix warning messages with make describe

% pwd
/usr/ports/lang/opensycl
% make describe
sh: /usr/local/llvm15/bin/clang: not found
make: "/usr/ports/Mk/Uses/compiler.mk" line 83: warning: "/usr/local/llvm15/bin/clang --version" returned non-zero status
make: "/usr/ports/Mk/Uses/compiler.mk" line 131: warning: "/usr/local/llvm15/bin/clang++ -### /dev/null 2>&1" returned non-zero status
opensycl-0.9.4|/usr/ports/lang/opensycl|/usr/local|Multi-backend implementation of SYCL for CPUs and GPUs|/usr/ports/lang/opensycl/pkg-descr|yuri@FreeBSD.org|lang||||/usr/ports/devel/boost-libs /usr/ports/devel/cmake-core /usr/ports/devel/llvm15 /usr/ports/devel/ninja /usr/ports/lang/python311|/usr/ports/lang/python311|https://github.com/OpenSYCL/OpenSYCL
%

Approved by:	portmgr (implicit, just fix it)
Fixes:		230ffdc785 lang/opensycl: fix build without libomp
This commit is contained in:
Yasuhiro Kimura 2024-08-17 09:34:27 +09:00
parent 5ad83068be
commit 7fa88acfab

View file

@ -15,7 +15,7 @@ BROKEN_FreeBSD_13_armv7= configure fails: Cannot run simple program using std::f
BUILD_DEPENDS= boost-libs>0:devel/boost-libs BUILD_DEPENDS= boost-libs>0:devel/boost-libs
USES= cmake llvm:15 python shebangfix USES= cmake python shebangfix
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_GITHUB= yes USE_GITHUB= yes
@ -25,9 +25,9 @@ GH_PROJECT= OpenSYCL
SHEBANG_FILES= bin/syclcc-clang cmake/syclcc-launcher SHEBANG_FILES= bin/syclcc-clang cmake/syclcc-launcher
.if !exists(/usr/include/omp.h) .if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib USES+= compiler:gcc-c++11-lib llvm:15
.else .else
USES+= compiler:c++11-lang USES+= compiler:c++11-lang llvm:15
.endif .endif
do-test: # many tests fail, see https://github.com/OpenSYCL/OpenSYCL/issues/996 do-test: # many tests fail, see https://github.com/OpenSYCL/OpenSYCL/issues/996