mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-42555 [build scripts]: copying VC runtime to Windows distribution is no longer needed
GitOrigin-RevId: 6fdfd2a692a1254c35867dc1f5afd0c97163d397
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2b39bfe90e
commit
d4087ec703
+1
-9
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.intellij.build.impl
|
||||
|
||||
import com.intellij.openapi.util.SystemInfoRt
|
||||
@@ -135,14 +135,6 @@ internal class WindowsDistributionBuilder(
|
||||
copyFilesForOsDistribution(osAndArchSpecificDistPath, arch)
|
||||
val runtimeDir = context.bundledRuntime.extract(OsFamily.WINDOWS, arch, WindowsLibcImpl.DEFAULT)
|
||||
|
||||
val vcRtDll = runtimeDir.resolve("jbr/bin/msvcp140.dll")
|
||||
check(Files.exists(vcRtDll)) {
|
||||
"VS C++ Runtime DLL (${vcRtDll.fileName}) not found in ${vcRtDll.parent}.\n" +
|
||||
"If JBR uses a newer version, please correct the path in this code and update Windows Launcher build configuration.\n" +
|
||||
"If DLL was relocated to another place, please correct the path in this code."
|
||||
}
|
||||
copyFileToDir(vcRtDll, osAndArchSpecificDistPath.resolve("bin"))
|
||||
|
||||
val (zipWithJbrPath, exePath) = context.executeStep(spanBuilder("build Windows artifacts"), stepId = BuildOptions.WINDOWS_ARTIFACTS_STEP) {
|
||||
var zipWithJbrPath: Path? = null
|
||||
var exePath: Path? = null
|
||||
|
||||
Reference in New Issue
Block a user