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

transparently handle gzip files #153

Merged
merged 3 commits into from
Feb 18, 2022
Merged

transparently handle gzip files #153

merged 3 commits into from
Feb 18, 2022

Conversation

xabbu42
Copy link
Contributor

@xabbu42 xabbu42 commented Feb 17, 2022

Fixes #139

Adds dependency on zlib and php with zlib support. I'm not sure if this is acceptable or not.

Also the Nmakefile probably needs to be fixed for windows users. I hope somebody using windows can help with that.

@alpha0010
Copy link
Collaborator

Thanks for your interests in this.

I am unfamiliar with the Windows side (I do not do Windows development). In order to avoid breaking Windows support, could you add preprocessor guards around your changes? Something like $(CXX) -o $(OUT) -O2 -s $(SRCS) -lz -DWITH_ZLIB in the makefile, and #ifdef WITH_ZLIB/#else/#endif in preprocessor.cpp, so compression support can be toggled on/off at build time?

@xabbu42
Copy link
Contributor Author

xabbu42 commented Feb 17, 2022

done, so I guess this can be merged now as is. It would still be great if somebody can also test and enable the feature on windows.

@alpha0010 alpha0010 merged commit 5c527ef into jokkedk:master Feb 18, 2022
@xabbu42 xabbu42 deleted the handle-gz branch May 23, 2022 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support gzip compressed callgrind files
2 participants