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

TBB 2019.0 with VS2008 fix #35

Merged
merged 11 commits into from
Sep 20, 2018
Merged

Conversation

anton-malakhov
Copy link
Contributor

@anton-malakhov anton-malakhov commented Sep 18, 2018

Updating to TBB version 2019.0 along with the following changes in the recipe:

  • versioning scheme changed along with the rest of the Intel Parallel Studio packages
  • python-tbb entry point removed (it behaves differently from python -m tbb)
  • added temporary work-around patch for compilation problem on VS2008 (not officially supported by TBB team anymore)
  • added compilation test for tbb-devel instead of simple checks for files existence
  • added run_export section and make as a build dependency on [unix]

Checklist

  • Used a fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy
  • Ensured the license file is being packaged.

Replaces #34

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@anton-malakhov anton-malakhov mentioned this pull request Sep 18, 2018
Removing python-tbb entry point - it behaves incorrectly yet
recipe/meta.yaml Outdated
- set INCLUDE=%INCLUDE%;%LIBRARY_INC% # [win]
- set LIB=%LIB%;%LIBRARY_LIB% # [win]
- nmake /f Makefile.windows # [win]
- make -C examples/test_all/fibonacci CXXFLAGS="-I$PREFIX/include -L$PREFIX/lib" # [unix]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that conda-build requires include and library directories settings to be explicit was unexpected. Am I doing something wrong with the compiler in the test requirements?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Makefile doesn't make use of CPPFLAGS and uses only CXXFLAGS. Toolchain adds -I$PREFIX/include to CPPFLAGS and not CXXFLAGS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I see. What's about the same question on Windows?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INCLUDE and LIB are not set in https://github.com/AnacondaRecipes/aggregate/blob/master/vs2015/activate.bat . You'll have to open an issue in that repo asking them to set INCLUDE and LIB

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Also, w.r.t. CPPFLAGS which is the pre-processor flags only.. what's supplying -L flag or sets LIBRARY_PATH?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LDFLAGS should have -L$PREFIX/lib

@anton-malakhov
Copy link
Contributor Author

The build is green now! However, I've noticed a problem with debug libraries within tbb-devel package #36 . I'll look into this tomorrow

@anton-malakhov
Copy link
Contributor Author

anton-malakhov commented Sep 19, 2018

It is ready for merge: builds are green and the issue with the debug binaries is worked-around. Does anybody want to review this PR? Please review soon or express your intention to review so I'll know whom to wait.

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

Successfully merging this pull request may close these issues.

3 participants