Discover the Scala Compiler
scalac compiler for a particular version of
scala, by scanning some common directories containing
find_scalac(version, locations = NULL)
scalaversion to search for. Versions of the form
major.minorwill be matched against the
scalacinstallation with version
major.minor.patch; if multiple compilers are discovered the most recent one will be used.
Additional locations to scan. By default, the directories
/usr/local/scalawill be scanned.