You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Leif Hedstrom <zw...@apache.org> on 2013/07/30 00:13:06 UTC
Nuking TS_MICRO
Hi all,
long story short, I'd like to nuke the TS_MICRO options, and whatever
other options that were only exposed through TS_MICRO. I think this is a
useless feature today, and it doesn't even work (won't build).
Please voice concerns soon, if not, I will remove it by friday.
-- Leif
Re: Nuking TS_MICRO
Posted by John Plevyak <jp...@acm.org>.
Nuke it.
On Mon, Jul 29, 2013 at 3:13 PM, Leif Hedstrom <zw...@apache.org> wrote:
> Hi all,
>
> long story short, I'd like to nuke the TS_MICRO options, and whatever
> other options that were only exposed through TS_MICRO. I think this is a
> useless feature today, and it doesn't even work (won't build).
>
> Please voice concerns soon, if not, I will remove it by friday.
>
> -- Leif
>
>
Re: Nuking TS_MICRO
Posted by Igor Galić <i....@brainsware.org>.
doesn't that take out all the fun of that work ;)
anyway, re nuking TS_MICRO: +1 from me.
----- Original Message -----
> Don't know if everyone knows about unifdef. It is a great tool for
> removing ifdef'ed code. I used it to nuke a lot of the specialized
> code in TS before it was open sourced. With one command you can
> nuke a bunch of code.
>
> http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=unifdef
>
> -Bryan
>
> On Jul 29, 2013, at 8:06 PM, Leif Hedstrom <zw...@apache.org> wrote:
>
> > On 7/30/13 1:29 AM, James Peach wrote:
> >> On Jul 29, 2013, at 3:13 PM, Leif Hedstrom <zw...@apache.org>
> >> wrote:
> >>
> >>> Hi all,
> >>>
> >>> long story short, I'd like to nuke the TS_MICRO options, and
> >>> whatever other options that were only exposed through TS_MICRO.
> >>> I think this is a useless feature today, and it doesn't even
> >>> work (won't build).
> >> Agreed. If there are specific options that people are willing to
> >> maintain (eg. --disable-ssl), then we can support those.
> >>
> >> J
> >
> > The code in ink_config.h is:
> >
> >
> > #if TS_IS_MICRO_BUILD
> > # define TS_MICRO 1
> > # define INK_NO_ACL 1
> > # define INK_NO_CLUSTER 1
> > # define TS_USE_DIAGS 0
> > # define INK_NO_HOSTDB 1
> > # define INK_NO_ICP 1
> > # define INK_NO_LOG 1
> > # define INK_NO_SOCKS 1
> > # define INK_NO_STAT_PAGES 1
> > # define INK_USE_MUTEX_FOR_ATOMICLISTS 1
> > #endif
> >
> >
> > Of these TS_MICRO related #ifdef's, only TS_USE_DIAGS an be enabled
> > / disabled through configure. So, unless I hear otherwise, this
> > TS_MICRO nuke also implies nuking all these INK_ defines as well
> > (since they are useless without TS_MICRO).
> >
> > -- Leif
> >
>
>
--
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE
Re: Nuking TS_MICRO
Posted by Bryan Call <bc...@yahoo-inc.com>.
Don't know if everyone knows about unifdef. It is a great tool for removing ifdef'ed code. I used it to nuke a lot of the specialized code in TS before it was open sourced. With one command you can nuke a bunch of code.
http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=unifdef
-Bryan
On Jul 29, 2013, at 8:06 PM, Leif Hedstrom <zw...@apache.org> wrote:
> On 7/30/13 1:29 AM, James Peach wrote:
>> On Jul 29, 2013, at 3:13 PM, Leif Hedstrom <zw...@apache.org> wrote:
>>
>>> Hi all,
>>>
>>> long story short, I'd like to nuke the TS_MICRO options, and whatever other options that were only exposed through TS_MICRO. I think this is a useless feature today, and it doesn't even work (won't build).
>> Agreed. If there are specific options that people are willing to maintain (eg. --disable-ssl), then we can support those.
>>
>> J
>
> The code in ink_config.h is:
>
>
> #if TS_IS_MICRO_BUILD
> # define TS_MICRO 1
> # define INK_NO_ACL 1
> # define INK_NO_CLUSTER 1
> # define TS_USE_DIAGS 0
> # define INK_NO_HOSTDB 1
> # define INK_NO_ICP 1
> # define INK_NO_LOG 1
> # define INK_NO_SOCKS 1
> # define INK_NO_STAT_PAGES 1
> # define INK_USE_MUTEX_FOR_ATOMICLISTS 1
> #endif
>
>
> Of these TS_MICRO related #ifdef's, only TS_USE_DIAGS an be enabled / disabled through configure. So, unless I hear otherwise, this TS_MICRO nuke also implies nuking all these INK_ defines as well (since they are useless without TS_MICRO).
>
> -- Leif
>
Re: Nuking TS_MICRO
Posted by Leif Hedstrom <zw...@apache.org>.
On 7/30/13 1:29 AM, James Peach wrote:
> On Jul 29, 2013, at 3:13 PM, Leif Hedstrom <zw...@apache.org> wrote:
>
>> Hi all,
>>
>> long story short, I'd like to nuke the TS_MICRO options, and whatever other options that were only exposed through TS_MICRO. I think this is a useless feature today, and it doesn't even work (won't build).
> Agreed. If there are specific options that people are willing to maintain (eg. --disable-ssl), then we can support those.
>
> J
The code in ink_config.h is:
#if TS_IS_MICRO_BUILD
# define TS_MICRO 1
# define INK_NO_ACL 1
# define INK_NO_CLUSTER 1
# define TS_USE_DIAGS 0
# define INK_NO_HOSTDB 1
# define INK_NO_ICP 1
# define INK_NO_LOG 1
# define INK_NO_SOCKS 1
# define INK_NO_STAT_PAGES 1
# define INK_USE_MUTEX_FOR_ATOMICLISTS 1
#endif
Of these TS_MICRO related #ifdef's, only TS_USE_DIAGS an be enabled /
disabled through configure. So, unless I hear otherwise, this TS_MICRO
nuke also implies nuking all these INK_ defines as well (since they are
useless without TS_MICRO).
-- Leif
Re: Nuking TS_MICRO
Posted by James Peach <jp...@apache.org>.
On Jul 29, 2013, at 3:13 PM, Leif Hedstrom <zw...@apache.org> wrote:
> Hi all,
>
> long story short, I'd like to nuke the TS_MICRO options, and whatever other options that were only exposed through TS_MICRO. I think this is a useless feature today, and it doesn't even work (won't build).
Agreed. If there are specific options that people are willing to maintain (eg. --disable-ssl), then we can support those.
J