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

Request: Asan variant #67

Open
djzort opened this issue Feb 5, 2019 · 1 comment
Open

Request: Asan variant #67

djzort opened this issue Feb 5, 2019 · 1 comment

Comments

@djzort
Copy link

djzort commented Feb 5, 2019

An asan variant would be very handy.

Here is how dbi has worked it in on their own:

https://github.com/Perl5/DBIx-Class/blob/maint/0.0828xx/.travis.yml#L214-L239

It should probably then look something like the following in bin/build-perl

[[ "${perl_version}-" =~ '-asan-' ]] && brewopts+=(-Dcc=$CC -Accflags='$ASAN_FLAGS_COMMON' -Aldflags='$ASAN_FLAGS_COMMON')

Where all those variables and gcc as version 8 would be defined

@djzort
Copy link
Author

djzort commented Feb 5, 2019

There is also a plugin for perl-build at https://metacpan.org/pod/distribution/Perl-Build/script/perl-build

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

No branches or pull requests

1 participant