-
Notifications
You must be signed in to change notification settings - Fork 720
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
{lib}[GCCcore/10.3.0] tbb v2021.3.0 #13404
base: develop
Are you sure you want to change the base?
{lib}[GCCcore/10.3.0] tbb v2021.3.0 #13404
Conversation
@boegelbot please test @ generoso |
@robert-mijakovic: Request for testing this PR well received on generoso PR test command '
Test results coming soon (I hope)... - notification for comment with ID 877159197 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
@robert-mijakovic you changed from the custom tbb easyblock to the generic CMakeMake, can you also add a |
@smoors Ok, I will have a look and try to turn it back to the custom tbb easyblock. |
@smoors The reason for not using the custom EB is that tbb no longer uses ConfigureMake but rather CMakeMake |
@smoors The paths are properly set, CMAKE_PREFIX_PATH, CPATH, LD_LIBRARY_PATH, LIBRARY_PATH, PKG_CONFIG_PATH and XDG_DATA_DIRS, EBROOTTBB, EBVERSIONTBB, and EBDEVELTBB. I haven't tried to build it on more than on different architectures (only on the system we have in the house). I can add sanity_check_commands. |
@smoors Basically, there are no binaries inside of the installation only the source code of tests that could be built with:
I'm trying to figure out how to do it properly. @Flamefire told me that it can be done with test_step. |
@robert-mijakovic you still need to add
|
'files': ['include/%(namelower)s/%(namelower)s.h'] + | ||
['lib64/lib%%(namelower)s.%s' % SHLIB_EXT], | ||
'dirs': ['lib64', 'include'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'files': ['include/%(namelower)s/%(namelower)s.h'] + | |
['lib64/lib%%(namelower)s.%s' % SHLIB_EXT], | |
'dirs': ['lib64', 'include'] | |
'files': ['include/%(name)s/%(name)s.h'] + | |
['lib/lib%%(name)s.%s' % SHLIB_EXT], | |
'dirs': ['lib', 'include'] |
name
is enough and the default dir is lib
and the lib64
is created by EB. Also the lib
folder is more important as e.g. embree explicitely searches that and that is what we ensure in the easyblock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved
Their CMake files are A LOT better. So no arch specific stuff anymore, all is good as-is and those paths are correctly set (except for TBBROOT. BTW: Are you sure about TBBROOT? I've (only) seen TBB_ROOT being used so far. But the latter doesn't matter much and can be omitted. +1 for the examples and test run. I wouldn't really add a sanity check command as this is a library. What would you run there? And compiling stuff is already done |
yeah, I may have misread the documentation. TBBROOT seems to be only used when installing Intel Advisor, so it's not strictly necessary.
I agree, that's what I meant to say. |
@boegelbot: please test @ generoso |
@smoors: Request for testing this PR well received on generoso PR test command '
Test results coming soon (I hope)... - notification for comment with ID 879904499 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
|
Test report by @boegelbot |
|
Test report by @Flamefire |
The same issue is with generoso. |
Yeah and a kinda-valid failure. Opened a bug report at uxlfoundation/oneTBB#489 Try to add a patch which changes the mentioned codeline to |
Chiming in here, as I and @SethosII would need the latest version of TBB for
|
@sassy-crick You need to set this on CMAKE_CXX_FLAGS not CMAKE_C_FLAGS or create a patch as written in #13404 (comment) Where is that patch from? It is not from the mentioned issue and doesn't solve any issue as far as I can tell |
@Flamefire Just my luck again, I picked the wrong flag. Thanks for pointing that out to me. |
I can confirm that |
(created using
eb --new-pr
)