-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[ci skip]new package: openfoam2512 #61092
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
Open
muezabdalla
wants to merge
5
commits into
void-linux:master
Choose a base branch
from
muezabdalla:2512
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+34
−0
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c183e6f
new package: openfoam2512
muezabdalla 8b55239
use vmkdir instead of mkdir
muezabdalla 5c470cb
small improvements (e.g use default fetch and extract functions)
muezabdalla a4d5105
remove the 'since 2004' sentence from the desc
muezabdalla 35e89b0
move the third party dir to openfoam dir
muezabdalla File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| case "${ACTION}" in | ||
| post) | ||
| echo "**" | ||
| echo "** Different ways to setup OpenFOAM (www.openfoam.com)" | ||
| echo "** - source from ~/.bashrc file: . /opt/OpenFOAM-v2512/etc/bashrc" | ||
| echo "**" | ||
| ;; | ||
| esac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Template file for 'openfoam2512' | ||
| pkgname=openfoam2512 | ||
| version=2512 | ||
| revision=1 | ||
| makedepends="libfl-devel openmpi-devel gnuplot libboost_thread flex boost-devel openmpi" | ||
| depends="openmpi libboost_thread flex boost libgomp gnuplot" | ||
| short_desc="OpenFOAM is a free, open source CFD software released and developed by OpenCFD Ltd" | ||
| maintainer="muez <muezabdalla777@gmail.com>" | ||
| license="GPL-3.0" | ||
| homepage="https://www.openfoam.com/" | ||
| distfiles="${SOURCEFORGE_SITE}/openfoam/OpenFOAM-v${version}.tgz | ||
| ${SOURCEFORGE_SITE}/openfoam/ThirdParty-v${version}.tar.gz" | ||
| checksum="ae9a0a133a2e996b88bd1d0f3cc229e3c49968c368feae61bd3ec63deaf337aa | ||
| 2f84e28a6849b6e5fe0f6af01fe90c932ca48142d5b4525d6a1bdfcbd85ca5a9" | ||
| python_version=3 | ||
|
|
||
| do_build() { | ||
| mv "ThirdParty-v${version}" "OpenFOAM-v${version}/thirdparty" | ||
| cd "OpenFOAM-v${version}" | ||
| source ./etc/bashrc || exit 0 | ||
| ./Allwmake -j ${makejobs} | ||
| } | ||
| do_install() { | ||
| vmkdir opt | ||
| mv *-v${version} ${PKGDESTDIR}/opt/ | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The package sbould be called
openfoam, notopenfoam2512.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.
the users usually would install mutiple versions of openfoam (e.g 2512, 2412, 2606). and they expect that the 2512 version will not get updated automatically to 2606.