Hello Serhat,

On 17-04-26 14:56:02, Serhat Gesoglu wrote:
> Hello,
> You can use "--ignore-style" command line option to disable style checking 
> hooks. 
> Here is the source: http://gem5.org/Build_System#Command_line_options
>

I tried that.

scons --ignore-style  build/X86/gem5.opt                                        
                           0 < 20:31:49
scons: Reading SConscript files ...
Checking for C header file Python.h... (cached) yes
Checking for C library python2.7... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library util... (cached) yes
Checking for C library m... (cached) yes
Checking for accept(0,0,0) in C++ library None... (cached) yes
Checking for zlibVersion() in C++ library z... (cached) yes
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... (cached) 
yes
Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) yes
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library None... 
(cached) no
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library rt... 
(cached) yes
Checking for C library tcmalloc... (cached) yes
Checking for backtrace_symbols_fd((void*)0, 0, 0) in C library None... (cached) 
yes
Checking for C header file fenv.h... (cached) yes
Checking for C header file linux/kvm.h... (cached) yes
Checking size of struct kvm_xsave ... (cached) yes
Checking for member exclude_host in struct perf_event_attr...(cached) yes
Building in /home/sanchayan/GitSource/gem5/build/X86
Using saved variables file /home/sanchayan/GitSource/gem5/build/variables/X86
scons: done reading SConscript files.
scons: Building targets ...
 [NEW DEPS] X86/arch/x86/generated/inc.d -> x86-deps
 [ENVIRONS] x86-deps -> x86-environs
 [VER TAGS]  -> X86/sim/tags.cc
scons: done building targets.

After this trying to commit the code again still gives me the same issue or
do I understand it's use incorrectly?

Thanks.

Regards,
Sanchayan.

> Cheers
> Serhat
> 
> ________________________________________
> From: gem5-users [[email protected]] on behalf of 
> [email protected] [[email protected]]
> Sent: 26 April 2017 15:36
> To: [email protected]
> Subject: [gem5-users] How to disable style checker
> 
> Hello,
> 
> I have my own local branch of gem5 to which I want to commit some splash2
> benchmark code. Now this code does not exactly comply with gem5 coding
> rules so while trying to commit this locally it seems to run the style
> checked which fails and then does not commit.
> 
> Can someone please tell me how to bypass this style checker so I can commit
> the code?
> 
> - Sanchayan.
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to