Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Özgür Ozan Sen
ogs
Commits
61b1a2a6
Verified
Commit
61b1a2a6
authored
2 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[wheel] Moved CMake options to preset.
parent
85385aae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakePresets.json
+14
-0
14 additions, 0 deletions
CMakePresets.json
setup.py
+1
-10
1 addition, 10 deletions
setup.py
with
15 additions
and
10 deletions
CMakePresets.json
+
14
−
0
View file @
61b1a2a6
...
@@ -187,6 +187,20 @@
...
@@ -187,6 +187,20 @@
"OGS_USE_PYTHON"
:
"OFF"
,
"OGS_USE_PYTHON"
:
"OFF"
,
"OGS_USE_UNITY_BUILDS"
:
"OFF"
"OGS_USE_UNITY_BUILDS"
:
"OFF"
}
}
},
{
"name"
:
"wheel"
,
"inherits"
:
"release"
,
"cacheVariables"
:
{
"OGS_BUILD_PROCESSES"
:
"LiquidFlow"
,
"OGS_BUILD_UTILS"
:
"OFF"
,
"HDF5_USE_STATIC_LIBRARIES"
:
"ON"
,
"OGS_BUILD_HDF5"
:
"ON"
,
"OGS_USE_PYTHON"
:
"OFF"
,
"OGS_BUILD_PYTHON_MODULE"
:
"ON"
,
"OGS_BUILD_TESTING"
:
"OFF"
,
"OGS_INSTALL_DEPENDENCIES"
:
"OFF"
}
}
}
],
],
"buildPresets"
:
[
"buildPresets"
:
[
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
10
View file @
61b1a2a6
...
@@ -11,15 +11,6 @@ setup(
...
@@ -11,15 +11,6 @@ setup(
package_dir
=
{
""
:
"
Applications/Python
"
},
package_dir
=
{
""
:
"
Applications/Python
"
},
cmake_install_dir
=
"
Applications/Python/OpenGeoSys
"
,
cmake_install_dir
=
"
Applications/Python/OpenGeoSys
"
,
extras_require
=
{
"
test
"
:
[
"
pytest
"
]},
extras_require
=
{
"
test
"
:
[
"
pytest
"
]},
cmake_args
=
[
cmake_args
=
[
"
--preset wheel
"
],
"
-DOGS_BUILD_PROCESSES=LiquidFlow
"
,
"
-DOGS_BUILD_UTILS=OFF
"
,
"
-DHDF5_USE_STATIC_LIBRARIES=ON
"
,
"
-DOGS_BUILD_HDF5=ON
"
,
"
-DOGS_USE_PYTHON=OFF
"
,
# not possible because manylinux does not provide libpythonX.Y.so
"
-DOGS_BUILD_PYTHON_MODULE=ON
"
,
"
-DOGS_BUILD_TESTING=OFF
"
,
"
-DOGS_INSTALL_DEPENDENCIES=OFF
"
,
# otherwise auditwheel fails
],
python_requires
=
"
>=3.6
"
,
python_requires
=
"
>=3.6
"
,
)
)
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