Code Monkey home page Code Monkey logo

distccflags's People

Contributors

daniel-santos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

anyuta1166 tsjk

distccflags's Issues

doesn't work properly with gcc-9.2.0 (gcc error for file named "valid")

# ./distccflags -march=native gcc: error: valid: No such file or directory CFLAGS="-march=nehalem valid -m128bit-long-double -mno-16 -mno-32 -mno-3dnowa -mno-3dnow -m64 -m80387 -mno-8bit-idiv -mno-96bit-long-double -mabi=sysv -mno-abm -mno-accumulate-outgoing-args -maddress-mode=long -mno-adx -maes -malign-data=compat -mno-align-double -malign-functions=0 -malign-jumps=0 -malign-loops=0 -malign-stringops -mno-android -masm=att -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mno-avx2 -mno-avx5124fmaps -mno-avx5124vnniw -mno-avx512bitalg -mno-avx512bw -mno-avx512cd -mno-avx512dq -mno-avx512er -mno-avx512f -mno-avx512ifma -mno-avx512pf -mno-avx512vbmi2 -mno-avx512vbmi -mno-avx512vl -mno-avx512vnni -mno-avx512vpopcntdq -mno-avx -mno-bionic -mno-bmi2 -mno-bmi -mbranch-cost=3 -mno-call-ms2sysv-xlogues -mno-cet-switch -mno-cldemote -mno-cld -mno-clflushopt -mno-clwb -mno-clzero -mno-crc32 -mcx16 -mdefault -mno-dispatch-scheduler -mno-dump-tune-features -mno-f16c -mfancy-math-387 -mno-fentry -mno-fma4 -mno-fma -mno-force-drap -mno-force-indirect-call -mfpmath=sse -mfp-ret-in-387 -mno-fsgsbase -mfunction-return=keep -mfxsr -mno-general-regs-only -mno-gfni -mglibc -mhard-float -mno-hle -mno-iamcu -mieee-fp -mincoming-stack-boundary=0 -mindirect-branch=keep -mno-indirect-branch-register -mno-inline-all-stringops -mno-inline-stringops-dynamically -minstrument-return=none -mlarge-data-threshold=65536 -mno-long-double-128 -mno-long-double-64 -mlong-double-80 -mno-lwp -mno-lzcnt -mno-manual-endbr -mno-mitigate-rop -mmmx -mmovbe -mno-movdir64b -mno-movdiri -mno-mpx -mno-ms-bitfields -mno-musl -mno-mwaitx -mno-nop-mcount -mno-omit-leaf-frame-pointer -mno-pc32 -mno-pc64 -mno-pc80 -mpclmul -mno-pcommit -mno-pconfig -mno-pku -mpopcnt -mpreferred-stack-boundary=0 -mprefer-vector-width=none -mno-prefetchwt1 -mno-prfchw -mno-ptwrite -mpush-args -mno-rdpid -mno-rdrnd -mno-rdseed -mno-recip -mno-record-mcount -mno-record-return -mred-zone -mregparm=6 -mno-rtd -mno-rtm -mno-sahf -mno-sgx -mno-sha -mno-shstk -mno-skip-rax-setup -mno-soft-float -msse -msse2 -mno-sse2avx -msse3 -msse4 -msse4.1 -msse4.2 -mno-sse4a -mno-sseregparm -mssse3 -mno-stack-arg-probe -mstack-protector-guard=tls -mno-stackrealign -mstv -mno-tbm -mtls-dialect=gnu -mtls-direct-seg-refs -mtune=nehalem -mno-uclibc -mno-vaes -mno-vect8-ret-in-mem -mno-vpclmulqdq -mvzeroupper -mno-waitpkg -mno-wbnoinvd -mno-x32 -mno-xop -mno-xsavec -mno-xsave -mno-xsaveopt -mno-xsaves"

# /usr/bin/gcc -dumpversion 9.2.0

# gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 /usr/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/cc1 -E -quiet -v - -march=nehalem -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -mno-sahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mtune=nehalem

Why the result is such short?

On my machine,using command:
$ gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/^.* - //g;' | perl -pe 's/-mno-.*? //g;''
got a long sting,
-march=westmere -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mpopcnt -msse4.2 -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=westmere

But, distccflags script only show me a very short result:
CFLAGS="-march=westmere -mno-aes -mno-pclmul"

Can distccflag's result replace the above long result? Or just add the missing part?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.