Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Allow IPP IW compiled with manylinux pthread.h #10411

Closed
native-api opened this issue Dec 24, 2017 · 3 comments
Closed

[PATCH] Allow IPP IW compiled with manylinux pthread.h #10411

native-api opened this issue Dec 24, 2017 · 3 comments

Comments

@native-api
Copy link
Contributor

  • OpenCV => 3.1
  • Operating System / Platform => manylinux 64 Bit
  • Compiler => gcc 4.8.2
Detailed description

In manylinux environment, compiling IPP IW produces the following error:

/io/_skbuild/cmake-build/3rdparty/ippicv/ippiw_lnx/src/iw_own.c:136:45: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared (first use in this function)
     if(pthread_mutexattr_settype(&mutAttib, PTHREAD_MUTEX_RECURSIVE) != 0)

The attached patch fixes this the same way as 3rdparty/ittnotify/src/ittnotify/ittnotify_config.h.

0001-Defines-needed-for-manylinux-pthread.patch.zip

Steps to reproduce

See https://travis-ci.org/native-api/opencv-python/builds/321053239 for build log.

@mshabunin
Copy link
Contributor

CC @lupustr3

@lupustr3
Copy link
Contributor

@native-api thanks! I will include this fix into the next package update;

@alalek
Copy link
Member

alalek commented Oct 27, 2018

Resolved by #11541

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants