Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 928149
Collapse All | Expand All

(-)a/sys-libs/libomp/libomp-17.0.6.ebuild (-2 / +4 lines)
Lines 113-120 multilib_src_configure() { Link Here
113
		-DLIBOMP_INSTALL_ALIASES=OFF
113
		-DLIBOMP_INSTALL_ALIASES=OFF
114
		# disable unnecessary hack copying stuff back to srcdir
114
		# disable unnecessary hack copying stuff back to srcdir
115
		-DLIBOMP_COPY_EXPORTS=OFF
115
		-DLIBOMP_COPY_EXPORTS=OFF
116
		# prevent trying to access the GPU
117
		-DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND
118
	)
116
	)
119
117
120
	if [[ ${build_omptarget} == ON ]]; then
118
	if [[ ${build_omptarget} == ON ]]; then
Lines 122-127 multilib_src_configure() { Link Here
122
			mycmakeargs+=(
120
			mycmakeargs+=(
123
				-DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=$(usex llvm_targets_AMDGPU)
121
				-DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=$(usex llvm_targets_AMDGPU)
124
				-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=$(usex llvm_targets_NVPTX)
122
				-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=$(usex llvm_targets_NVPTX)
123
124
				# prevent trying to access the GPU
125
				-DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND
126
				-DLIBOMPTARGET_NVPTX_ARCH=LIBOMPTARGET_NVPTX_ARCH-NOTFOUND
125
			)
127
			)
126
		else
128
		else
127
			mycmakeargs+=(
129
			mycmakeargs+=(

Return to bug 928149