LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2019, 01:56 AM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Testing wanted: SlackBuilds for googletest, benchmark, ceres-solver on -current. (And a rebuild of suitesparse.)


Hello, everyone.

I have written a few SlackBuilds, which I needed for myself, and they sort of work on my machine, but I'd like some second opinion before I can relax about their quality.

Could someone test if they work on your machines?

Googletest and benchmark should need glog and gflags from SBo,
suitesparse should need CUDA and gcc-5, and ceres should need all of the above.

Ceres installs tests and demos in /usr/lib64/ceres-solver/, and data into /usr/share/ceres-$VERSION, maybe not the best place for those, as they both can't fine each other, but in the default build they are also runnable only if given special care (that is, data files given explicitly).

So any feedback would be welcome. Thanks in advance.

https://gitlab.com/Lockywolf/lwfslackbuilds/

Last edited by Lockywolf; 05-03-2019 at 01:57 AM.
 
Old 05-03-2019, 02:23 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I'm not sure if you already spotted it, but googletest is already on SBo

https://slackbuilds.org/repository/1...lopment/gtest/

if you need version 1.8.1 or some particular build options maybe you can ping its maintainer...

also, I don't know if you want to push this stuff later on SBo, but it seems you are using different variables compared to SBo templates: as they are standards in all of SBo's scripts you might have to alter your SlackBuilds prior to submit them there...

Last edited by ponce; 05-03-2019 at 02:28 AM.
 
Old 05-03-2019, 02:36 AM   #3
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Original Poster
Rep: Reputation: 253Reputation: 253Reputation: 253
I did use SBo's original variables at first, but found them so confusing that it proved to be quicker to write an lwf2sbo conversion sed script rather than try to remember that $TMP is not /tmp

I will proofread the script's output before submitting. Moreover, the submissions are not yet open for 15.0

The environment variables are all the same though (TAG and such), so the scripts should be runnable from sbopkg without modification.

Last edited by Lockywolf; 05-03-2019 at 03:16 AM.
 
Old 05-03-2019, 06:46 PM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Since you had (in another thread) the problem with gcc version for cudatoolkit on -current such that it needed gcc-5, have you considered the possibility that a more recent version of cuda might solve the problem of needing gcc-5? The SBo cudatoolkit is very old - maybe there are reasons for not updating it or maybe no one has tried. There have been 5 cuda releases since the version at SBo (the latest Feb 2019). I can't believe NVidia would release newer versions that don't compile with the latest or recent gcc.

Also, since cudatoolkit is already such a big install, I've been hesitant to make it a mandatory requirement for suitesparse on 14.2, where suitesparse detects cuda if it is installed and compiles without problems. Then (at least on -current) it seems another gcc is needed too with existing cudatoolkit.

chris
 
Old 05-03-2019, 10:38 PM   #5
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Original Poster
Rep: Reputation: 253Reputation: 253Reputation: 253
Well, you have a point.

The problem in my particular case is that I use Nvidia GF119, which is old as hell and only supports sm_21 and compute_20, and SBo's CUDA is the last one supporting this architecture. Although even it throws warnings about this architecture being deprecated "soon".

The point about mandatory CUDA is also totally valid, and I will make it optional, thanks for the suggestion.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suitesparse /Cuda SBo, complains about too advanced GCC, although being built with GCC 5 from the same SBo. Lockywolf Slackware 5 04-28-2019 10:17 PM
[SOLVED] Unable to build SuiteSparse (from SBo) in multilib 64-current. hiptobecubic Slackware 4 07-31-2012 04:57 AM
Adapting slackbuild of SuiteSparse for Slackware 12.2 to conform to Slackware64 Alexvader Slackware 3 12-31-2009 01:22 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
FEA solver and pre-post processor tungsten Linux - Software 1 07-14-2003 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration