Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Denis Smirnov <sd@picodata.io>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 1/1] build: missed header when -DLUAJIT_DISABLE_JIT=ON
Date: Wed, 4 May 2022 16:07:24 +0300	[thread overview]
Message-ID: <YnJ6jNxF3ZT2X+0h@root> (raw)
In-Reply-To: <6e27e4ad0577f7d3f69747eb3766fd00b902b602.1651202921.git.sd@picodata.io>

Hi, Denis!

Thanks for the patch!

Please, consider my comments below.

On 29.04.22, Denis Smirnov via Tarantool-patches wrote:
> Previously it was impossible to build Lua JIT with disabled JIT
> option (-DLUAJIT_DISABLE_JIT=ON flag) because of the missed include.
> Fixed.

Nit: I proposed the following rewording:

|
| This patch adds the necessary include.

> ---

Your branch is outdated regarding "master" (tarantool) branch.
So the build is still failing with disabled JIT.

Also, it is necessary to introduce new CI jobs with disabled JIT (and
mb memprof) -- it allows to avoid such troubles in future. It is a good
thing, and help with this is valuable and appreciated.

NB: JIT-related (or memprof-related) tests should be disabled for such
pipeline. So we need to introduce disabling mechanism by these factors.

>  src/lj_memprof.c | 1 +

Please, check that Makefile.dep.original is updated corresponding new
added header.

>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/lj_memprof.c b/src/lj_memprof.c
> index d4a639fd..4a35613c 100644
> --- a/src/lj_memprof.c
> +++ b/src/lj_memprof.c
> @@ -11,6 +11,7 @@
>  #include <errno.h>
>  
>  #include "lj_arch.h"
> +#include "lj_jit.h"
>  #include "lj_memprof.h"
>  
>  #if LJ_HASMEMPROF
> -- 
> 2.32.0 (Apple Git-132)
> 

-- 
Best regards,
Sergey Kaplun

      reply	other threads:[~2022-05-04 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  3:45 [Tarantool-patches] [PATCH juajit 0/1] " Denis Smirnov via Tarantool-patches
2022-04-29  3:45 ` [Tarantool-patches] [PATCH luajit 1/1] " Denis Smirnov via Tarantool-patches
2022-05-04 13:07   ` Sergey Kaplun via Tarantool-patches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YnJ6jNxF3ZT2X+0h@root \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sd@picodata.io \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit 1/1] build: missed header when -DLUAJIT_DISABLE_JIT=ON' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox