Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
0a702352
Commit
0a702352
authored
7 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
Use maximum number of processors to build pymoose.
parent
f50b26d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-3
3 additions, 3 deletions
CMakeLists.txt
cmake/build_moose-core.sh.in
+2
-1
2 additions, 1 deletion
cmake/build_moose-core.sh.in
with
5 additions
and
4 deletions
CMakeLists.txt
+
3
−
3
View file @
0a702352
...
...
@@ -115,9 +115,9 @@ endif()
install
(
DIRECTORY
${
PYMOOSE_INSTALL_DIR
}
/usr/
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
CONFIGURATIONS Release
PATTERN
".git"
EXCLUDE
PATTERN
"*.pyc"
EXCLUDE
CONFIGURATIONS Release
)
if
(
WITH_GUI
)
...
...
@@ -125,18 +125,18 @@ if(WITH_GUI)
set
(
MOOSE_GUI_DIR
${
CMAKE_SOURCE_DIR
}
/moose-gui
)
install
(
DIRECTORY
${
MOOSE_GUI_INSTALL_DIR
}
/
DESTINATION lib/moose/gui
CONFIGURATIONS Release
PATTERN
".git*"
EXCLUDE
PATTERN
"*.pyc"
EXCLUDE
CONFIGURATIONS Release
)
install
(
DIRECTORY
${
MOOSE_EXAMPLE_DIR
}
/
DESTINATION lib/moose/moose-examples
CONFIGURATIONS Release
PATTERN
".git*"
EXCLUDE
PATTERN
"_travis*"
EXCLUDE
PATTERN
".travis*"
EXCLUDE
PATTERN
"*.pyc"
EXCLUDE
CONFIGURATIONS Release
)
configure_file
(
${
CMAKE_SOURCE_DIR
}
/cmake/moosegui.in
${
CMAKE_BINARY_DIR
}
/moosegui
)
...
...
This diff is collapsed.
Click to expand it.
cmake/build_moose-core.sh.in
+
2
−
1
View file @
0a702352
...
...
@@ -6,8 +6,9 @@ set -e
# NOTICE: This file is parsed by cmake to create a shell script. Not all syntax
# will play well with cmake. CMAKE replaces @FOO@ and ${FOO} with cmake variable
# values.
NPROC
=
$(
nproc
)
if
[
-z
$MAKEOPTS
]
;
then
export
MAKEOPTS
=
"-j
5
"
export
MAKEOPTS
=
"-j
${
NPROC
}
"
fi
echo
"Building pymoose and creating bdist."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment