Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scala-native support #72

Merged
merged 2 commits into from
Jul 5, 2017
Merged

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Jul 1, 2017

#69

@mpilquist mpilquist merged commit 7226f93 into scodec:series/1.1.x Jul 5, 2017
@xuwei-k xuwei-k deleted the scala-native branch July 5, 2017 18:29
@olafurpg
Copy link
Contributor

olafurpg commented Jul 9, 2017

Nice! Is there an expected release date? I'm in the process of porting fastparse to native and the module fastparseByte has a dependency on scodec-bits.

olafurpg added a commit to olafurpg/fastparse that referenced this pull request Jul 9, 2017
- scodec-bits has been ported by is still pending a release
  scodec/scodec-bits#72
- Scala Native 0.3.1 includes classfiles for javalib in the published
  jars, which cause problems with c.eval in macros. Fixed in
  scala-native/scala-native#902
@mpilquist
Copy link
Contributor

Running test from coreNative project fails b/c it tries to build src/test/scala directory. Seems like we need to disable test compilation completely in coreNative project.

@mpilquist
Copy link
Contributor

Also, running ./nativeTest/target/scala-2.11/nativetest-out results in a segmentation fault. Any ideas?

@olafurpg
Copy link
Contributor

Hmmm. It should be possible to setup the build so coreNative/test works as expected, let me see what I can do about that.

Also, running ./nativeTest/target/scala-2.11/nativetest-out results in a segmentation fault. Any ideas?

I'm unable to reproduce,

$ time ./core/native/target/scala-2.11/scodec-bits-out
...
./core/native/target/scala-2.11/scodec-bits-out  0.01s user 0.00s system 43% cpu 0.025 total

What OS are you using? iirc, there were some problems with Arch Linux.

@mpilquist
Copy link
Contributor

Hmmm. It should be possible to setup the build so coreNative/test works as expected, let me see what I can do about that.

That would be great!

What OS are you using?

OS X 10.12.5. I had to run brew install bdw-gc to get coreNative to build.

@olafurpg
Copy link
Contributor

I opened #75. coreNative/test runs in 2.11.11 and does nothing for other scalaVersion. With sbt-doge, it's possible to make the build configuration a bit simpler but I didn't want to add a build plugin.

I'm on OS X too, weird. I don't know enough about native to give pointers.

olafurpg added a commit to olafurpg/fastparse that referenced this pull request Aug 13, 2017
- scodec-bits has been ported by is still pending a release
  scodec/scodec-bits#72
- Scala Native 0.3.1 includes classfiles for javalib in the published
  jars, which cause problems with c.eval in macros. Fixed in
  scala-native/scala-native#902
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants