Added a TODO on -Dkonan.home use in pre-dist world.

This commit is contained in:
Alexander Gorshenev
2017-03-10 13:39:01 +03:00
committed by alexander-gorshenev
parent aea99897c4
commit 1f9d41b291
@@ -169,6 +169,10 @@ private fun processLib(konanHome: String,
val konanFile = File(konanFileName)
val konanProperties = loadProperties(konanFile, mapOf())
// TODO: We use -Dkonan.home in the absence of fully built 'dist'
// to locate the 'dependencies' directory.
// Eventually we need to pull the necessary content into 'dist'.
// And provide a set of flags to find the components in the absence of 'dist'.
val llvmHome = konanProperties.getOsSpecific("llvmHome")!!
val dependencies = File("$konanHome/../dependencies/all").canonicalPath
val llvmInstallPath = "$dependencies/$llvmHome"