Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1235e91b
Commit
1235e91b
authored
Jun 26, 2013
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require pthreads for compilation with OpenCL support.
Fixes a part of ticket #2422. Reviewed-by: James Almer
parent
35aed74f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
configure
configure
+2
-0
No files found.
configure
View file @
1235e91b
...
...
@@ -4185,6 +4185,8 @@ enabled openal && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lO
enabled opencl
&&
{
check_lib2 OpenCL/cl.h clEnqueueNDRangeKernel
-Wl
,-framework,OpenCL
||
check_lib2 CL/cl.h clEnqueueNDRangeKernel
-lOpenCL
||
die
"ERROR: opencl not found"
;
}
&&
{
enabled_any w32threads os2threads
&&
die
"opencl currently needs --enable-pthreads or --disable-w32threads"
;
}
&&
{
check_cpp_condition
"OpenCL/cl.h"
"defined(CL_VERSION_1_2)"
||
check_cpp_condition
"CL/cl.h"
"defined(CL_VERSION_1_2)"
||
die
"ERROR: opencl must be installed and version must be 1.2 or compatible"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment