-
Notifications
You must be signed in to change notification settings - Fork 90
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
try to respect outside CXXFLAGS #402
base: master
Are you sure you want to change the base?
Conversation
@bgruening I see. The problem is that the new Makefile clearly introduces the |
@bgruening Sorry I mean if users would like to compile hifiasm manually from the source code, they will simiply type |
Yes, you need to find a solution to set all the parameters when a user executes You could also use |
@bgruening I see, thanks a lot. I will merge it in the next release. As I already cut a release for the 0.18.7, I just want to figure out a way to modify conda receipt, instead of the Makefile. This is also helpful if the users would like to utilize previous versions by bioconda. I'm thinking probably could I directly incorporate
|
If you are searching for a hack, remove the lines from your Makefile as part of the conda recipe :) See here for inspiration: https://github.com/bioconda/bioconda-recipes/blob/f7060664019d76f30ec726d1e3981d4ec2cdb336/recipes/vcflib/build.sh#L9 |
Thanks a lot! Let me update the the makefile and the receipt with the new release. |
@chhylp123 can you ping me when this is released please? Thanks a lot! |
@bgruening Sorry for the delay as I was working on some bugs inside hifiasm. As you mentioned on another issue (#392 (comment)):
Yes, the GUN make has an override behavior (https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_9.html#SEC90), which means the 'CXXFLAGS' inside the makefile will be overrided by that in the command line. I understand this is why the previous conda version of hifiasm is several times slower as This new receipt clearly set all necessary values for 'CXXFLAGS' in the command line, and it should override the 'CXXFLAGS' inside the makefile. Why bioconda cannot find PS: there is an urgent bug to be fixed in hifiasm, so I will cut a new release first without your modification. |
You are hardcoding these values in your Makefile and do not allow the overwrites. It has nothing to do with Conda or Bioconda you can reproduce this locally as well. You need to define variables with |
I hacked your Makefile on the bioconda side. Could you maybe try version 0.18.8 and see if its faster? |
@bgruening Thanks a lot. But as this issue mentioned (weidai11/cryptopp#525), if users set
|
@chhylp123 mh ... sorry, this week is just crazy. I can not really test it but I guess it would also work if you write:
So using your LIBS variable. |
@bgruening Thanks a lot! Have a nice weekend~ |
@chhylp123 can you maybe try that?