sbt, the interactive build tool
Go to file
Eugene Yokota 28f0c075ac Fixes M1 support
Fixes https://github.com/sbt/sbt/issues/7117

Problem
-------
sbt no longer works on a Mac with M1 (aarch64) chips because it fails on
ipcsocket library, which we maintain.
This was caused by architecture detection that was added in 1.6.1,
which did not take in account for macOS universal binary.

Solution
--------
Update to ipcsocket 1.6.2.
2023-01-04 15:46:08 -05:00
.github Update ci.yml 2022-12-26 19:03:20 -05:00
client Add aarch64 libsbtipcsocket.so native-image/resource-config.json 2023-01-02 22:22:11 +01:00
core-macros/src/main/scala/sbt/internal/util/appmacro Use fully qualified name in the macro 2021-03-09 11:55:29 -05:00
dependency-tree/src/main/scala/sbt/plugins Split to MiniDependencyTreePlugin 2020-09-22 21:21:01 -04:00
internal fix: also include diagnosticCode and related info in InterfaceUtil 2022-10-02 04:50:44 -04:00
launch launcher 1.3.3 2021-07-11 02:04:48 -04:00
launcher-package Use latest sbtn 2023-01-03 16:02:18 +01:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Use latest sbtn 2023-01-03 16:02:18 +01:00
main-actions/src Fix #6738: register all forked process 2021-12-06 09:12:38 +01:00
main-command/src Fix sbt trying to delete /tmp on ARM Macs 2022-06-25 18:58:19 -04:00
main-settings/src Merge pull request #6711 from xuwei-k/fix-scala-2-13-warn 2021-11-14 21:53:57 -05:00
notes Add support for BSP's buildTarget/outputPaths method 2022-08-03 10:13:48 +02:00
project Fixes M1 support 2023-01-04 15:46:08 -05:00
protocol/src/main fix: bspConfig sbt.script - use `Path` env variable as a fallback for Windows 2022-12-06 20:41:14 +03:00
run Add sbt.argsfile option 2022-09-08 15:17:19 -04:00
sbt-app/src Zinc 1.8.0, lm 1.8.0 2022-11-10 15:41:52 -05:00
scripted-plugin/src/main/scala/sbt -Xfatal-warnings in most subprojects 2018-09-18 11:47:55 -04:00
scripted-sbt-old/src/main/scala/sbt/test Move scripted-sbt-old ScriptedTests file 2020-11-03 09:02:18 -08:00
scripted-sbt-redux Make javaHome that forks scripted tests configurable 2021-10-05 00:35:56 +09:00
server-test/src Scala 2.12.17 2022-09-17 04:09:52 -04:00
src/main/conscript sbt 1.3.0 2019-09-04 01:24:08 -04:00
tasks fix Scala 2.13 warnings 2021-11-14 22:59:34 +09:00
tasks-standard fix Scala 2.13 warnings 2021-11-14 22:59:34 +09:00
testing Add zio-test TestFramework to default test frameworks 2022-10-16 22:42:53 +02:00
util-cache Merge pull request #6711 from xuwei-k/fix-scala-2-13-warn 2021-11-14 21:53:57 -05:00
util-tracking Merge pull request #6711 from xuwei-k/fix-scala-2-13-warn 2021-11-14 21:53:57 -05:00
vscode-sbt-scala https://www.apple.com 2019-09-05 14:11:07 -04:00
zinc-lm-integration/src Update scalatest 2021-11-14 22:03:59 +09:00
.gitattributes Fix line endings in msi 2021-11-19 20:41:39 -05:00
.gitignore fix: bspConfig sbt.script - use `Path` env variable as a fallback for Windows 2022-12-06 20:41:14 +03:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.mailmap Add mailmap 2019-06-11 09:30:14 +02:00
.sbtopts Restore .sbtopts file 2020-11-19 12:42:26 -08:00
.scalafmt.conf SourcePositionMacro for Scala 3 2021-11-16 16:32:31 +09:00
CONTRIBUTING.md https://www.scala-sbt.org 2019-09-05 14:11:13 -04:00
DEVELOPING.md Note on developing 2022-12-31 13:38:17 -05:00
LICENSE Apache License 2.0 2018-09-14 03:38:58 -04:00
NOTICE Apache License 2.0 2018-09-14 03:38:58 -04:00
PROFILING.md fix typo 2018-07-08 22:18:57 +09:00
README.md Update badges 2022-07-04 11:11:49 -04:00
SUPPORT.md Split support into SUPPORT.md 2018-04-25 14:55:09 +01:00
build.sbt Set correct page size for aarch64 binaries 2023-01-02 23:48:13 +01:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt Use latest sbtn 2023-01-03 16:02:18 +01:00
sbt-allsources.sh Build from fresh modules 2020-11-14 14:23:48 -05:00
sbt.sh Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

CI Latest version Discord

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see https://www.scala-sbt.org/.

sbt 1.x

This is the 1.x series of sbt. The source code of sbt is split across several GitHub repositories, including this one.

  • sbt/io hosts sbt.io module.
  • sbt/librarymanagement hosts sbt.librarymanagement module that wraps Ivy.
  • sbt/zinc hosts Zinc, an incremental compiler for Scala.
  • sbt/sbt, this repository hosts modules that implements the build tool.
  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try searching or asking on StackOverflow.

license

See LICENSE.