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

Upgrade TBB and ANTLR #1714

Merged
merged 26 commits into from
Jan 8, 2024
Merged

Upgrade TBB and ANTLR #1714

merged 26 commits into from
Jan 8, 2024

Conversation

rhinoella
Copy link
Contributor

@rhinoella rhinoella commented Nov 15, 2023

Change from the depreciated TBB (2020.3) to the new oneAPI version (2021.10.0). as well as ANTLR from version 4.9.3 to 4.13.1. Would allow for Dissolve to work on Apple Sillicon.

Note:
Due to naming conflicts QT_NO_KEYWORDS was set meaning we can't use the QT generated MOC keywords anymore such as slots or emit. These now have to be replaced with Q_SLOTS and Q_EMIT, respectively.

Closes #1712

@rhinoella rhinoella self-assigned this Nov 15, 2023
@rhinoella rhinoella changed the title Move from TBB 2020.3 to oneTBB 2021.10.0 Upgrade TBB and ANTLR Dec 1, 2023
Copy link
Member

@trisyoungs trisyoungs left a comment

Choose a reason for hiding this comment

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

Looking very good indeed. I quite like it now that the Qt stuff (e.g. Q_SIGNALS, Q_EMIT) stand out from "standard" C++, rather than insidiously sneak in!

Couple of queries and suggestions for harmonising up the workflows.

.github/workflows/build/osx/action.yml Outdated Show resolved Hide resolved
.github/workflows/build/osx/action.yml Outdated Show resolved Hide resolved
.github/workflows/build/windows/action.yml Outdated Show resolved Hide resolved
.github/workflows/package/osx/action.yml Outdated Show resolved Hide resolved
.github/workflows/pr.yml Outdated Show resolved Hide resolved
ci/windows/dissolve-gui.iss Show resolved Hide resolved
cmake/Modules/FindANTLR.cmake Outdated Show resolved Hide resolved
conanfile.txt Show resolved Hide resolved
src/templates/parallelDefs.h Show resolved Hide resolved
Copy link
Member

@trisyoungs trisyoungs left a comment

Choose a reason for hiding this comment

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

👍 Just one small question.

Comment on lines +45 to +46
cp ./deploy/antlr4-cppruntime/lib/libantlr4-runtime.*.dylib /usr/local/lib
cp ./deploy/antlr4-cppruntime/lib/libantlr4-runtime.dylib /usr/local/lib/libantlr4-runtime.dylib
Copy link
Member

Choose a reason for hiding this comment

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

Do we need both of these?

As a side effect, we lose weggli, but even I wasn't using it
@rprospero rprospero merged commit f986a8f into develop Jan 8, 2024
7 checks passed
@rprospero rprospero deleted the upgrade-tbb branch January 8, 2024 14:08
rprospero added a commit that referenced this pull request Mar 11, 2024
Co-authored-by: Spitz <noella.spitz@ndw2544mac.isis.cclrc.ac.uk>
Co-authored-by: Adam Washington <adam.washington@stfc.ac.uk>
rprospero added a commit that referenced this pull request Apr 8, 2024
Co-authored-by: Spitz <noella.spitz@ndw2544mac.isis.cclrc.ac.uk>
Co-authored-by: Adam Washington <adam.washington@stfc.ac.uk>
rprospero added a commit that referenced this pull request Apr 9, 2024
Co-authored-by: Spitz <noella.spitz@ndw2544mac.isis.cclrc.ac.uk>
Co-authored-by: Adam Washington <adam.washington@stfc.ac.uk>
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.

Upgrade to oneTBB 21.10.0
3 participants