Skip to content

fftw: Update from 3.3.3 to 3.3.8 #877

Merged
merged 1 commit into from
Aug 29, 2018
Merged

Conversation

thomas
Copy link
Collaborator

@thomas thomas commented Aug 22, 2018

Rewrote the beefile to build all flavours of fftw.

I'm aware that this bee file breaks with almost everything
from the book 'good bee style'. If anyone has a better
solution to consistently build fftw for various datatypes
with bee -- let me know.

Flames welcome :)

https://www.youtube.com/watch?v=en1uwIzI3SE
(Fire - The Crazy World Of Arthur Brown)

Rewrote the beefile to build all flavours of fftw.

I'm aware that this bee file breaks with almost everything
from the book 'good bee style'. If anyone has a better
solution to consistently build fftw for various datatypes
with bee -- let me know.

Flames welcome :)

https://www.youtube.com/watch?v=en1uwIzI3SE
(Fire - The Crazy World Of Arthur Brown)
Copy link
Collaborator

@pmenzel pmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can add a custom configure function, and call that with the switch as argument.

$BUILD \
$SIMD

make -j $(nproc)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use BEE_MAKEFLAGS.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think BEE_MAKEFLAGS should be only used from bees' make.

./configure \
$DEFCONFIG \
$BUILD \
$SIMD
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the above to mee_configure? Oh, you running it several times. Can it be factored out into it’s own function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All four configures are indeed slightly different, and to have a minimal function with 2 args wouldn't make it better to see the variation.

@pmenzel
Copy link
Collaborator

pmenzel commented Aug 22, 2018 via email

@thomas
Copy link
Collaborator Author

thomas commented Aug 22, 2018

I have no deep objections in replacing the nproc with BEE_MAKEFLAGS, but from my point of view I'm putting the wool over the users eyes when I also 'emulate' BEE_MAKEFLAGS, or are BEE_MAKEFLAGS so strickly defined as 'passed exclusively to make', I'm not so sure.

@thomas
Copy link
Collaborator Author

thomas commented Aug 29, 2018

Since there have been no new arguments on the issue, and I wan't to proceed fixing other issues, I'll treat the above as a "the glas is half full", "no, it's half empty" discussion.

@thomas thomas merged commit 98d439e into master Aug 29, 2018
@pmenzel
Copy link
Collaborator

pmenzel commented Aug 29, 2018 via email

@donald donald deleted the update-fftw-from-3.3.3-to-3.3.8 branch September 14, 2018 08:46
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants