Skip to content

Commit 9590803

Browse files
authored
Update for Scala Native 0.4.10 (#110)
1 parent 281f3f2 commit 9590803

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ converted to [LLVM IR](http://llvm.org/). Finally LLVM code is optimized
1616
and compiled by [Clang](http://clang.llvm.org/) to produce a native executable.
1717

1818
## Getting started
19-
[![Maven Central](https://img.shields.io/maven-central/v/org.ekrich/sblas_native0.4_2.13.svg)](https://maven-badges.herokuapp.com/maven-central/org.ekrich/sblas_native0.4_2.13)
19+
[![Maven Central](https://img.shields.io/maven-central/v/org.ekrich/sblas_native0.4_3.svg)](https://maven-badges.herokuapp.com/maven-central/org.ekrich/sblas_native0.4_3)
2020

2121
If you are already familiar with Scala Native you can jump right in by adding the following dependency in your `sbt` build file.
2222

@@ -45,18 +45,19 @@ $ sudo apt-get install libatlas-base-dev
4545

4646
## Scala Build Versions
4747

48-
| Scala Version | Native (0.4.0) | Native (0.4.3+) |
49-
| ---------------------- | :-------------------: | :------------: |
50-
| 2.11.x || |
51-
| 2.12.x || |
52-
| 2.13.x || |
53-
| 3.x.x | | |
48+
| Scala Version | Native (0.4.0) | Native (0.4.3+) | Native (0.4.10+) |
49+
| ---------------------- | :-------------------: | :-------------: | :--------------: |
50+
| 2.11.x || | |
51+
| 2.12.x || | |
52+
| 2.13.x || | |
53+
| 3.x.x | | | |
5454

5555
Use version sblas `0.3.0` for Scala Native `0.4.0`.
56-
Use version sblas `0.4.0` for Scala Native `0.4.3` with Scala 3 support.
56+
Use version sblas `0.4.0` for Scala Native `0.4.3+` with Scala 3 support.
57+
Use version sblas `0.5.0` for Scala Native `0.4.10+`.
5758

5859
## Usage and Help
59-
[![scaladoc](https://www.javadoc.io/badge/org.ekrich/sblas_native0.4_2.11.svg?label=scaladoc)](https://www.javadoc.io/doc/org.ekrich/sblas_native0.4_2.11)
60+
[![scaladoc](https://www.javadoc.io/badge/org.ekrich/sblas_native0.4_3.svg?label=scaladoc)](https://www.javadoc.io/doc/org.ekrich/sblas_native0.4_3)
6061
[![Join chat https://gitter.im/ekrich/sblas](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ekrich/sblas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6162

6263
Reference the link above for Scaladoc. The documentation is a little sparse but hopefully will improve with time.
@@ -95,6 +96,7 @@ IBM Website:
9596

9697
## Versions
9798

99+
Release [0.5.0](https://github.com/ekrich/sblas/releases/tag/v0.5.0) - (2023-01-29)<br/>
98100
Release [0.4.0](https://github.com/ekrich/sblas/releases/tag/v0.4.0) - (2022-02-01)<br/>
99101
Release [0.3.0](https://github.com/ekrich/sblas/releases/tag/v0.3.0) - (2021-03-20)<br/>
100102
Release [0.2.0](https://github.com/ekrich/sblas/releases/tag/v0.2.0) - (2019-12-05)<br/>

build.sbt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
val prevVersion = "0.3.0"
33
val nextVersion = "0.4.0"
44

5-
val scala211 = "2.11.12"
65
val scala212 = "2.12.17"
76
val scala213 = "2.13.10"
87
val scala3 = "3.2.1"
98

10-
val versionsNative = Seq(scala211, scala212, scala213, scala3)
9+
val versionsNative = Seq(scala212, scala213, scala3)
1110

1211
ThisBuild / scalaVersion := scala213
1312
ThisBuild / crossScalaVersions := versionsNative
@@ -45,7 +44,7 @@ def versionFmt(out: sbtdynver.GitDescribeOutput): String = {
4544

4645
lazy val commonSettings = Seq(
4746
logLevel := Level.Info, // Info, Debug
48-
nativeLinkStubs := true,
47+
scalacOptions ++= List("-unchecked", "-deprecation", "-feature"),
4948
addCompilerPlugin(
5049
"org.scala-native" % "junit-plugin" % nativeVersion cross CrossVersion.full
5150
),

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11")
66
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1")
77

88
// Scala Native support
9-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.9")
9+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.10")

sblas/src/test/scala/org/ekrich/blas/unsafe/BlasTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.junit.Assert._
1313

1414
class BlasTest {
1515
val N = 3
16-
val alpha = 0
16+
val alpha = 0.0f
1717
val incX = 1
1818
val incY = 1
1919

0 commit comments

Comments
 (0)