Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
7985f236
Commit
7985f236
authored
4 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Add a user-facing interface to add additional pip params
parent
fae77c75
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!919
[cmake] Add a user-facing interface to add additional pip params
Pipeline
#32961
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DunePythonInstallPackage.cmake
+7
-1
7 additions, 1 deletion
cmake/modules/DunePythonInstallPackage.cmake
with
7 additions
and
1 deletion
cmake/modules/DunePythonInstallPackage.cmake
+
7
−
1
View file @
7985f236
...
...
@@ -28,6 +28,12 @@
# Set this variable to have all installations of python packages use
# :code:`pip --editable`.
#
#
# .. cmake_variable:: DUNE_PYTHON_ADDITIONAL_PIP_PARAMS
#
# Use this variable to set additional flags for pip in this build. This can e.g.
# be used to point pip to alternative package indices in restricted environments.
#
function
(
dune_python_install_package
)
# Parse Arguments
...
...
@@ -79,7 +85,7 @@ function(dune_python_install_package)
endif
()
set
(
INSTALL_CMDLINE -m pip install
"
${
INSTALL_OPTION
}
"
--upgrade
"
${
WHEEL_OPTION
}
"
"
${
EDIT_OPTION
}
"
${
PYINST_ADDITIONAL_PIP_PARAMS
}
"
${
INSTALL_OPTION
}
"
--upgrade
"
${
WHEEL_OPTION
}
"
"
${
EDIT_OPTION
}
"
${
PYINST_ADDITIONAL_PIP_PARAMS
}
${
DUNE_PYTHON_ADDITIONAL_PIP_PARAMS
}
"
${
PYINST_FULLPATH
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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