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

hptt: new port in math #17242

Merged
merged 1 commit into from
Jan 28, 2023
Merged

hptt: new port in math #17242

merged 1 commit into from
Jan 28, 2023

Conversation

barracuda156
Copy link
Contributor

Description

New port: https://github.com/springer13/hptt

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 10.6.8 Server
Xcode 3.2.6

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

@barracuda156
Copy link
Contributor Author

barracuda156 commented Jan 7, 2023

Clang fails to build it with:

/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_math_hptt/hptt/work/hptt-942538649b51ff14403a0c73a35d9825eab2d7de/src/hptt.cpp:179:131: error: implicit conversion from 'const _Complex float' to 'float' is not permitted in C++
                           (const hptt::FloatComplex*) A, (hptt::FloatComplex) alpha, (hptt::FloatComplex*) B, (hptt::FloatComplex) beta, hptt::ESTIMATE, numThreads, nullptr, useRowMajor));
                                                                                                               ~                    ^~~~
  /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_math_hptt/hptt/work/hptt-942538649b51ff14403a0c73a35d9825eab2d7de/src/hptt.cpp:179:78: error: implicit conversion from 'const _Complex float' to 'float' is not permitted in C++
                           (const hptt::FloatComplex*) A, (hptt::FloatComplex) alpha, (hptt::FloatComplex*) B, (hptt::FloatComplex) beta, hptt::ESTIMATE, numThreads, nullptr, useRowMajor));
                                                          ~                    ^~~~~
  /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_math_hptt/hptt/work/hptt-942538649b51ff14403a0c73a35d9825eab2d7de/src/hptt.cpp:190:135: error: implicit conversion from 'const _Complex double' to 'double' is not permitted in C++
                           (const hptt::DoubleComplex*) A, (hptt::DoubleComplex) alpha, (hptt::DoubleComplex*) B, (hptt::DoubleComplex) beta, hptt::ESTIMATE, numThreads, nullptr, useRowMajor));
                                                                                                                  ~                     ^~~~
  /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_math_hptt/hptt/work/hptt-942538649b51ff14403a0c73a35d9825eab2d7de/src/hptt.cpp:190:80: error: implicit conversion from 'const _Complex double' to 'double' is not permitted in C++
                           (const hptt::DoubleComplex*) A, (hptt::DoubleComplex) alpha, (hptt::DoubleComplex*) B, (hptt::DoubleComplex) beta, hptt::ESTIMATE, numThreads, nullptr, useRowMajor));
                                                           ~                     ^~~~~

UPD. A known failure: springer13/hptt#21
Need to use GCC until that is fixed by upstream.

@barracuda156 barracuda156 marked this pull request as draft January 7, 2023 20:28
@barracuda156 barracuda156 marked this pull request as ready for review January 11, 2023 22:06
@herbygillot herbygillot merged commit df00bca into macports:master Jan 28, 2023
@barracuda156 barracuda156 deleted the hptt branch January 28, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants