Skip to content

Commit

Permalink
Disable cross
Browse files Browse the repository at this point in the history
  • Loading branch information
xakod committed Feb 19, 2024
1 parent d6abf62 commit 059422c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions recipes/userver/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ def validate(self):
f'{self.ref} requires mongo-c-driver with_sasl cyrus',
)

if cross_building(self):
raise ConanInvalidConfiguration("Cross building temporarily disabled")

def generate(self):
apply_conandata_patches(self)
tool_ch = CMakeToolchain(self)
Expand Down Expand Up @@ -201,8 +204,8 @@ def generate(self):
tool_ch.variables['USERVER_FEATURE_TESTSUITE'] = self.options.with_testsuite

# Temporarily disable DWCAS when cross
if cross_building(self):
tool_ch.variables['USERVER_FEATURE_DWCAS'] = False
# if cross_building(self):
# tool_ch.variables['USERVER_FEATURE_DWCAS'] = False

tool_ch.generate()

Expand Down

0 comments on commit 059422c

Please sign in to comment.