Skip to content
Snippets Groups Projects
Verified Commit 61b1a2a6 authored by Lars Bilke's avatar Lars Bilke
Browse files

[wheel] Moved CMake options to preset.

parent 85385aae
No related branches found
No related tags found
No related merge requests found
...@@ -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": [
......
...@@ -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",
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment