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

Provide executables? #9

Open
NightProgramming opened this issue May 27, 2022 · 8 comments
Open

Provide executables? #9

NightProgramming opened this issue May 27, 2022 · 8 comments
Labels
help wanted Cannot fix it myself, need volunteer work!

Comments

@NightProgramming
Copy link

I think it would be nice if executables of version 1.3.2 could be provided as part of the release assets. Currently those assets only consist of the zip and tar.gz files, which is basically the same as selecting the 1.3.2 tag in GitHub then clicking on "Code" and then on "Download ZIP".

I understand that it might not be possible for every OS (e.g. Mac OS) but maybe for Windows and Linux executables could be added?

@MestreLion MestreLion added the help wanted Cannot fix it myself, need volunteer work! label Jan 18, 2023
@MestreLion
Copy link
Owner

Sorry for taking so long to reply!

So... I'm not familiar with Github's tasks to automate builds... but if you give me the steps / PRs, I will gladly add the executables to the release

@NightProgramming
Copy link
Author

Thank you for your reply! I don't think a build process is absolutely required. Executables can simply be added to a release (although this requires to have them locally on your computer first). Please see step 9 of release documentation. Also it's possible to edit past releases, so it's not necessary to create a new release for the executables.

If you cannot get the files locally and upload them to the release, then yes, I guess a build process would be required. Unfortunately I also don't know anything about it.

@zvezdochiot
Copy link

Hi @NightProgramming .

Here are these assembler inserts:

wavegain/audio.c

Lines 165 to 171 in 01b7859

__asm__ __volatile__
( "fctiw %1, %1\n\t"
"stfd %1, %0"
: "=m" (res) /* Output */
: "f" (in) /* Input */
: "memory"
) ;

will not allow you to just get binaries for different OSes. Only for yourself. :)

Good luck.

@zvezdochiot
Copy link

zvezdochiot commented Jan 18, 2023

Hi @NightProgramming .

Made assembly without "asm"s, int64 == long long int and -lssp. But testing is needed.
wavegain-1.3.2-no_asm-llint-lssp-win32.zip

PS: Resolved: https://github.com/Sound-Linux-More/wavegain/releases/tag/1.3.3

@MestreLion
Copy link
Owner

If you cannot get the files locally and upload them to the release, then yes, I guess a build process would be required. Unfortunately I also don't know anything about it.

Yup, I don't have a Mac or Windows to create executables for these platforms. I guess I could add my personal 32-bits self-compiled Linux executable, but I don't think this would add much (or any) value, as distro packagers have their own build infrastructure anyway, and linux users can simply type make.

All modern projects in Github use some of form of automated, multi-platform build recipe, I just don't know how to set one up. And, as @zvezdochiot said, the asm blobs might prevent it from working :(

@zvezdochiot
Copy link

@MestreLion say:

the asm blobs might prevent it from working :(

By the way. What for? I do not know the subtleties, but I would like to know the difference between:

mantissa = lrint (floor (in));

and:

	mantissa = (int) (floor (in));

⚠️ I'm not sure. It's just a question!

@MestreLion
Copy link
Owner

I have no idea either. I'm not the original author of the code, and to be very honest I've never studied the code thoroughly. I just did minimal changes to make it compile and run in Linux

@zvezdochiot
Copy link

zvezdochiot commented Jan 18, 2023

Hi @MestreLion .

I can't PR as I have a cleared git history. And I do not intend to change my git history GitHub repo size to yours GitHub repo size. See https://github.com/Sound-Linux-More/wavegain for recipe and testing.

Current my version: 1.3.3

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Cannot fix it myself, need volunteer work!
Projects
None yet
Development

No branches or pull requests

3 participants