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

Provide shared libraries for common platforms #8

Closed
jpountz opened this issue Jan 9, 2013 · 5 comments
Closed

Provide shared libraries for common platforms #8

jpountz opened this issue Jan 9, 2013 · 5 comments

Comments

@jpountz
Copy link
Collaborator

jpountz commented Jan 9, 2013

For this issue, the hard part is testing...

@jpountz
Copy link
Collaborator Author

jpountz commented Jan 11, 2013

I added bindings for Linux i386 and amd64 and should add bindings for arm soon.

@mooreb
Copy link

mooreb commented Jan 25, 2013

I myself am struck with the need for shared libraries for lz4; I can help if you point me in the right direction.

@jpountz
Copy link
Collaborator Author

jpountz commented Feb 7, 2013

OK, we now have in git bindings for Linux 32-bits, Linux 64, Windows 64 and Mac (Intel) 64. I just deployed a snapshot to the sonatype repository. You can test it by downloading http://oss.sonatype.org/content/groups/public/net/jpountz/lz4/lz4/1.1-SNAPSHOT/lz4-1.1-20130207.232149-1.jar and running java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory. If bindings are available for your platform, this should print:

0:23 jpountz@zreptik3 ~ % java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory
Fastest instance is LZ4Factory:JNI
Fastest Java instance is LZ4Factory:JavaUnsafe

I intend to to a 1.1.0 release soon, so any comments confirming that bindings work (or not) are welcome!

@mooreb
Copy link

mooreb commented Feb 8, 2013

Thank you Adrien! These show promising results for the two platforms in which I am interested: mac os 10.8.2 and centos 5.9:lgmd-mooreb:~ 2013-02-08 11:10:55 $ uname -aDarwin lgmd-mooreb 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.241/RELEASE_X86_64 x86_64lgmd-mooreb: 2013-02-08 11:11:01 $ java -cp ~/Downloads/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4FactoryPicked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx32gFastest instance is LZ4Factory:JNIFastest Java instance is LZ4Factory:JavaUnsafeSimilarly for our linux boxen:$ uname -aLinux s3fileupload-i-6f19451f 2.6.21.7-2.ec2.v1.3.fc8xen #1 SMP Sat Sep 25 01:16:50 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux$ cat /etc/redhat-release CentOS release 5.9 (Final)$ java -cp /tmp/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4FactoryFastest instance is LZ4Factory:JNIFastest Java instance is LZ4Factory:JavaUnsafeThanks a ton,b

-------- Original Message --------
Subject: Re: [lz4-java] Provide shared libraries for common platforms
(#8)
From: Adrien Grand notifications@github.com
Date: Thu, February 07, 2013 3:28 pm
To: jpountz/lz4-java lz4-java@noreply.github.com
Cc: Brian Moore mooreb@mooreb.comOK, we now have in git bindings for Linux 32-bits, Linux 64, Windows 64 and Mac (Intel) 64. I just deployed a snapshot to the sonatype repository. You can test it by downloading http://oss.sonatype.org/content/groups/public/net/jpountz/lz4/lz4/1.1-SNAPSHOT/lz4-1.1-20130207.232149-1.jar and running java -cp ~/Téléchargements/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory. If bindings are available for your platform, this should print: 0:23 jpountz@zreptik3 ~ % java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory Fastest instance is LZ4Factory:JNI Fastest Java instance is LZ4Factory:JavaUnsafe I intend to to a 1.1.0 release soon, so any comments confirming that bindings work (or not) are welcome! — Reply to this email directly or view it on GitHub.

@jpountz
Copy link
Collaborator Author

jpountz commented Feb 9, 2013

Excellent news! I'll release shortly... Thanks Brian!

@jpountz jpountz closed this as completed Feb 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants