Skip to content

Commit

Permalink
jerryscript: restore VirtualRunEnv in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 26, 2023
1 parent b60f807 commit 65f51fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion recipes/jerryscript/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.apple import is_apple_os
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, load, rmdir
from conan.tools.microsoft import is_msvc
Expand Down Expand Up @@ -117,7 +118,7 @@ def config_options(self):
self.options.profile = "es.next"
self.options.jerry_math = False

if self.settings.os == "Macos":
if is_apple_os(self):
del self.options.jerry_math # forced to False
del self.options.link_time_optimization # forced to False
del self.options.strip # forced to False
Expand Down
2 changes: 1 addition & 1 deletion recipes/jerryscript/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class TestPackageConan(ConanFile):
settings = "os", "arch", "compiler", "build_type"
generators = "CMakeDeps", "CMakeToolchain"
generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv"
test_type = "explicit"

def requirements(self):
Expand Down

0 comments on commit 65f51fc

Please sign in to comment.