[K/N] Build new MM only for targets with threads

Targets without threads are disabled already.
This commit is contained in:
Alexander Shabalin
2023-02-28 14:21:28 +01:00
committed by Space Team
parent 12455451fc
commit 6996e03bc9
+11 -2
View File
@@ -166,7 +166,6 @@ bitcode {
compilerArgs.add("-DCUSTOM_ALLOCATOR") compilerArgs.add("-DCUSTOM_ALLOCATOR")
// Directly depends on cms which is only supported with threads.
onlyIf { target.supportsThreads() } onlyIf { target.supportsThreads() }
} }
@@ -260,6 +259,8 @@ bitcode {
testFixtures {} testFixtures {}
test {} test {}
} }
onlyIf { target.supportsThreads() }
} }
module("experimental_memory_manager_custom") { module("experimental_memory_manager_custom") {
@@ -270,8 +271,10 @@ bitcode {
testFixtures {} testFixtures {}
test {} test {}
} }
compilerArgs.add("-DCUSTOM_ALLOCATOR") compilerArgs.add("-DCUSTOM_ALLOCATOR")
onlyIf { target.supportsThreads() }
} }
module("common_gc") { module("common_gc") {
@@ -281,6 +284,8 @@ bitcode {
main {} main {}
test {} test {}
} }
onlyIf { target.supportsThreads() }
} }
module("noop_gc") { module("noop_gc") {
@@ -290,6 +295,8 @@ bitcode {
main {} main {}
testFixtures {} testFixtures {}
} }
onlyIf { target.supportsThreads() }
} }
module("same_thread_ms_gc") { module("same_thread_ms_gc") {
@@ -300,6 +307,8 @@ bitcode {
testFixtures {} testFixtures {}
test {} test {}
} }
onlyIf { target.supportsThreads() }
} }
module("concurrent_ms_gc") { module("concurrent_ms_gc") {