I am also not able to build this package and have the same error as @dale6998
Edit: adopted and fixed the package. Please try again @dale6998.
Git Clone URL: | https://aur.archlinux.org/clfft.git (read-only, click to copy) |
---|---|
Package Base: | clfft |
Description: | A software library containing FFT functions written in OpenCL |
Upstream URL: | https://github.com/clMathLibraries/clFFT |
Licenses: | Apache |
Submitter: | jdarch |
Maintainer: | None |
Last Packager: | acxz |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2013-11-15 22:13 (UTC) |
Last Updated: | 2022-07-02 17:04 (UTC) |
I am also not able to build this package and have the same error as @dale6998
Edit: adopted and fixed the package. Please try again @dale6998.
this fails to build but clfft-git
builds fine.
please see the log:
/home/dale/.aur_build/trizen-dale/clfft/src/clFFT-2.12.2/src/library/generator.transpose.cpp: In function ‘clfftStatus clfft_transpose_generator::genSwapKernelGeneral(const FFTGeneratedTransposeNonSquareAction::Signature&, std::string&, std::string&, const size_t&, size_t)’:
/home/dale/.aur_build/trizen-dale/clfft/src/clFFT-2.12.2/src/library/generator.transpose.cpp:1092:95: error: taking address of rvalue [-fpermissive]
1092 | std::string smaller_dim_str = static_cast<std::ostringstream*>(&(std::ostringstream() << smaller_dim))->str();
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/dale/.aur_build/trizen-dale/clfft/src/clFFT-2.12.2/src/library/generator.transpose.cpp:1093:93: error: taking address of rvalue [-fpermissive]
1093 | std::string dim_ratio_str = static_cast<std::ostringstream*>(&(std::ostringstream() << dim_ratio))->str();
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
make[2]: *** [library/CMakeFiles/clFFT.dir/build.make:160: library/CMakeFiles/clFFT.dir/generator.transpose.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: library/CMakeFiles/clFFT.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build clfft - makepkg exited with code: 4
Pinned Comments