Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/ocl-icd really depends hard on dev-lang/ruby?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mael
n00b
n00b


Joined: 28 Feb 2018
Posts: 37
Location: Germany

PostPosted: Tue Jan 15, 2019 9:13 am    Post subject: dev-libs/ocl-icd really depends hard on dev-lang/ruby? Reply with quote

hi,

since my philosophy is keeping a smallest system possible with only the needed features enabled like many other people here i discovered recently that stable marked dev-libs/ocl-icd-2.2.12 is hard depending on dev-lang/ruby on my system.
ocl-icd is the only package on my box that is pulling in all the for me unwanted ruby stuff.
i have globaly activated the opencl useflag for several reasons and globaly deactivated the ruby useflag in my make.conf because i dont need ruby and all the other "languages of the day" at all. just some amd64 assembler, c, c++ and python 8)

output of "equery d ruby":

Code:

dev-libs/ocl-icd-2.2.12 (dev-lang/ruby:2.4)
                        (dev-lang/ruby:2.3)
                        (dev-lang/ruby:2.5)


of course stable marked media-libs/mesa-18.2.8 with globaly activated opencl useflag is pulling in dev-libs/ocl-icd hard, so...

output of "equery d ocl-icd"

Code:

media-libs/mesa-18.2.8 (opencl ? dev-libs/ocl-icd[khronos-headers,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])



so my questions here are: is dev-libs/ocl-icd really depending hard on dev-lang/ruby? can we add a ruby useflag to all recent and future versions of dev-libs/ocl-icd so that guys like me dont need to pull in otherwise strictly optional ruby stuff? :?:
_________________
Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Jan 15, 2019 9:32 am    Post subject: Reply with quote

Unfortunately it looks like in the ocl-icd package tarball there's a:

icd_generator.rb

And yeah it looks like a ruby file. So need upstream to change languages for this one particular script...

So for now yes it at least looks like a build dependency but I don't know enough about OpenCL ICD loading to really give a honest opinion. It's more of the upstream devs probably wanting to try something new...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
mael
n00b
n00b


Joined: 28 Feb 2018
Posts: 37
Location: Germany

PostPosted: Tue Jan 15, 2019 9:43 am    Post subject: Reply with quote

so its another case of a strategicly wrong chosen programming language again... python 3 can do everything as efficient (speed, security, codesize, threading and thats just for starters) as ruby 2 does ... since python is used in a lot more prestigious open source projects ruby is just another unneeded childs play toy :cry:
_________________
Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Jan 15, 2019 4:42 pm    Post subject: Reply with quote

I have my beef about python too, it only gets a pass because portage is written in python...
Go perl! :p
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
mael
n00b
n00b


Joined: 28 Feb 2018
Posts: 37
Location: Germany

PostPosted: Wed Jan 16, 2019 12:19 pm    Post subject: Reply with quote

as far as i remember perl-5 has some serious issues with multithreading (parralel programming)so thats for me a definitive nogo on pearl. maybe pearl 6 changes things ...
_________________
Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jan 16, 2019 3:39 pm    Post subject: Reply with quote

hearsay, hearsay...

granted doing LWT with interpreted languages is in itself a dumb concept, gosh, do it in C at least...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
mael
n00b
n00b


Joined: 28 Feb 2018
Posts: 37
Location: Germany

PostPosted: Thu Jan 17, 2019 2:33 pm    Post subject: Reply with quote

thats why i love AND DO c/c++ (it fits in every requirement for me) and for special, but very very seldom cases i keep also some amd64 assembler ready (only disadvantage in my eyes:portability).

(slow for most people) python is for the rest (scripting) or testing in a fast way new ideas before ported to clean c/c++.

thats why i still hope there will be a complete portage rewrite from scratch (paludis would look promising with similar command syntax like pkgcore) in c or c++... but on raid 6 you dont feel python as a slow interpreted language ;-)

i forgot that i need html 5 without !!! javascript for "apaching" around a little bit sometimes. my hopes there are that some needed basic javascript functionality (selectors for example) goes directly into the next html language version which also kills ultimately the need for (mostly unsafe) javascript at all... my dream: a webshop without javascript, just pure fast, small and clean html (6 :P )

so java,javasript (ok, not yet :roll: ),ruby,haskell,swig,lua,orc,perl(sorry man, i have no use for that language :wink: ),mono,pascal,fortran,spidermonkey,tcl... and possibly more in dev/lang are in my view a waste of time learning them...

what do you think should (new) programmers learn first? i vote for c... its difficult to learn but guys can do every app, driver or even complete os's in a unmatched effiency...
_________________
Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum