Jump to content

Photo

Post your make.conf


44 replies to this topic

#41
papu

papu

    Newbie

  • Members
  • Pip
  • 5 posts

There is a little  error

MAKEOPS="-j5 -l4"

instead of

MAKEOPTS="-j5 -l4"

However ... i don't use the "-l" ; excuse my ignorance ... what can do the "-l4" ?

 

Thx.

oh yes very thanks, i had this bad write :(

 

--load-average X.Y  = -lx.y

 

MAKEOPTS
              Use this variable if you want to use parallel  make.   For  example,  if  you  have  a
              dual-processor  system, set this variable to "-j2" or "-j3" for enhanced build perfor‐
              mance with many packages. Suggested settings are between CPUs+1 and 2*CPUs+1. In order
              to avoid excess load, the --load-average option is recommended.  For more information,
              see  make(1).  Also  see  emerge(1)  for  information  about  analogous   --jobs   and
              --load-average options.

 

https://wiki.gentoo....e.conf#MAKEOPTS


  • Sandro likes this

#42
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

Ok .... Thanx friend papu :)

i've never used the "load average" :D



#43
papu

papu

    Newbie

  • Members
  • Pip
  • 5 posts

Ok .... Thanx friend papu :)

i've never used the "load average" :D

 

may be not much important because i am not using it  for 2  months due the type error , and I did not notice anything special hahaha.  anyway compilations are now  optimized for my 4  cpu cores and works like a charm



#44
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

papu :) :) :) very happy :P



#45
Havis

Havis

    Newbie

  • Members
  • Pip
  • 1 posts

This is make.conf used on my Skylake system (i7 6700k)

 

You can use "app-portage/cpuid2cpuflags" to adjust CPU_FLAGS_X86 for other systems (run cpuinfo2cpuflags-x86)

 

make.conf ala Havis:

 

ABI_X86="64 32"

CFLAGS="-march=broadwell -mclflushopt -mxsavec -mxsaves -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

FEATURES="buildpkg network-sandbox parallel-fetch sandbox userpriv usersandbox userfetch usersync"
EMERGE_DEFAULT_OPTS="--ask --verbose --quiet-build=y --with-bdeps=y --backtrack=10"

DISTDIR=/var/portage/distfiles
PKGDIR=/var/portage/packages

MAKEOPTS="-j8"
PORTAGE_NICENESS="19"
CLEAN_DELAY="3"
LINGUAS="*"
VIDEO_CARDS="amdgpu vesa intel i915 i965 mga nv nouveau r100 r200 r300 r600 radeonsi radeon v4l qxl"
ACCEPT_LICENSE="@FSF-APPROVED"

CPU_USE="threads smp custom-cflags custom-optimization"
PACKERS_USE="lzma lzo lz4 minizip"
AUDIO_USE="alsa openal pulseaudio"
AUDIO_CODECS_USE="opus fdk"
VIDEO_CODECS_USE="libass vcd xv quicktime mp4"
GFX_USE="djvu mng dvi xmp xpm"
X_USE="glamor introspection sdl vdpau xa xvmc spice wayland gles xcb xkb"
LIB_USE=""
USE=" \
     ${CPU_USE} \
     ${PACKERS_USE} \
     ${AUDIO_USE} \
     ${AUDIO_CODECS_USE} \
     ${VIDEO_CODECS_USE} \
     ${GFX_USE} \
     ${X_USE} \
     ${LIB_USE} \
     "

QEMU_SOFTMMU_TARGETS="*"
QEMU_USER_TARGETS="*"
GRUB_PLATFORMS="efi-32 efi-64 pc"





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users