mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Compile libffi and mpdecimal statically on Windows
Contributes to CURA-9365
This commit is contained in:
parent
0fb8d62825
commit
a31124673b
2 changed files with 8 additions and 1 deletions
|
@ -8,6 +8,7 @@ requirements:
|
|||
- "fdm_materials/(latest)@ultimaker/stable"
|
||||
- "cura_binary_data/(latest)@ultimaker/stable"
|
||||
- "cpython/3.10.4@ultimaker/testing"
|
||||
- "libffi/3.2.1"
|
||||
- "mpdecimal/2.5.1@ultimaker/testing"
|
||||
- "tcl/8.6.10@ultimaker/testing"
|
||||
- "tk/8.6.10@ultimaker/testing"
|
||||
|
@ -20,6 +21,7 @@ requirements:
|
|||
- "fdm_materials/5.1.0"
|
||||
- "cura_binary_data/5.1.0"
|
||||
- "cpython/3.10.4@ultimaker/testing"
|
||||
- "libffi/3.2.1"
|
||||
- "mpdecimal/2.5.1@ultimaker/testing"
|
||||
- "tcl/8.6.10@ultimaker/testing"
|
||||
- "tk/8.6.10@ultimaker/testing"
|
||||
|
@ -32,6 +34,7 @@ requirements:
|
|||
- "fdm_materials/[5.1.0-beta]@ultimaker/stable"
|
||||
- "cura_binary_data/[5.1.0-beta]@ultimaker/stable"
|
||||
- "cpython/3.10.4@ultimaker/testing"
|
||||
- "libffi/3.2.1"
|
||||
- "mpdecimal/2.5.1@ultimaker/testing"
|
||||
- "tcl/8.6.10@ultimaker/testing"
|
||||
- "tk/8.6.10@ultimaker/testing"
|
||||
|
@ -44,6 +47,7 @@ requirements:
|
|||
- "fdm_materials/[5.1.0-cura_9365]@ultimaker/testing"
|
||||
- "cura_binary_data/[5.1.0-cura_9365]@ultimaker/testing"
|
||||
- "cpython/3.10.4@ultimaker/testing"
|
||||
- "libffi/3.2.1"
|
||||
- "mpdecimal/2.5.1@ultimaker/testing"
|
||||
- "tcl/8.6.10@ultimaker/testing"
|
||||
- "tk/8.6.10@ultimaker/testing"
|
||||
|
|
|
@ -86,7 +86,10 @@ class CuraConan(ConanFile):
|
|||
def configure(self):
|
||||
self.options["*"].shared = True
|
||||
if self.settings.os == "Windows":
|
||||
self.options["mpdecimal"].cxx = False
|
||||
# Needed to compile CPython on Windows with our configuration voor Visual Studio
|
||||
self.options["mpdecimal"].cxx = True
|
||||
self.options["mpdecimal"].shared = False
|
||||
self.options["libffi"].shared = False
|
||||
|
||||
def validate(self):
|
||||
if self.version and tools.Version(self.version) <= tools.Version("4"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue