-
Notifications
You must be signed in to change notification settings - Fork 85
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
Many tests unable to find executable, several tests fail (PowerPC): what am I doing wrong here? #532
Comments
How are you running this? With Cmake? |
@jacobwilliams Yes. I did not enable tests in the portfile itself in the master, but changing configure.arg here https://github.com/macports/macports-ports/blob/eecc64002ce5eb51ad879733b110f9797f9deded/fortran/fortran-json/Portfile#L28 and adding |
I didn't even know json-fortran was available in Macports, and don't know who set that up or how it works. Or that PowerPC was still a thing. So, not sure I can really do anything to help here. We can leave this open in case somebody knows something? |
@jacobwilliams Everything in https://github.com/macports/macports-ports/tree/master/fortran was added by me as well as the port group which handles builds via FPM. So I kinda know how it works from a side of our build system, but I know nothing of how FPM handles stuff internally. Yes, we support PowerPC to the extent possible, and there were some significant improvements for it recently, including Fortran support. |
If you're using FPM, then you should just be able to run But it looks like you are using CMake to run the tests (I'm still not clear on that). You may want to try the latest build, since there were some CMake changes. |
@jacobwilliams Sorry, it is using CMake indeed, I did not check when I replied above: https://github.com/macports/macports-ports/blob/b8766ddf78e8c20f31a59b8175eb574371f304d1/fortran/fortran-json/Portfile I can try FPM, anyway the port should be updated to 8.4.0, I can switch the build system along with that. |
I guess I used CMake because using FPM does not work for me here:
|
While CMake installation works normally:
|
However it seems that
|
This works for me: mkdir build
cd build
cmake ..
make -j 4 check |
I will try that, thank you. Maybe it was just that we did not set the needed target (by default |
Hmm, does not seem to work:
|
I am probably doing something wrong, it cannot be that bad :)
Numerous tests cannot find respective executables, several test fail:
Configure args used:
The text was updated successfully, but these errors were encountered: