My question is, how do you adjust the configure options for 
Python-3.7.4-GCCcore-8.3.0.eb?

My problem is that when building with that easyconfig, it hangs (with 99% CPU) 
when running this test:


python -m test.regrtest –-pgo

Strace shows this infinitely:


sendfile(37, 34, [320625896], 238360)   = -1 EAGAIN (Resource temporarily 
unavailable)

Googling implies that this is a coding issue, not something wrong with my 
system here (I think). So I am looking for a workaround. I saw this;

https://stackoverflow.com/questions/44708262/make-install-from-source-python-without-running-tests

Do I do NOT want “--enable-optimizations” on the configure. I see in the log 
file for the build it is there:


== 2020-08-05 13:19:10,821 run.py:222 INFO running cmd:  ./configure 
--prefix=/grid/it/data/elzar/easybuild_sandbox/software/Python/3.7.4-GCCcore-8.3.0
  --build=x86_64-pc-linux-gnu  --host=x86_64-pc-linux-gnu  --enable-shared  
--with-lto  --enable-optimizations

But there is no “configopts” in Python-3.7.4-GCCcore-8.3.0.eb. I tried 
over-riding the default config by adding a “configopts” line, but that just 
added things to the default configure options. The enable-optimizations was 
still there.

How can I remove “enable-optimizations” from the configure for 
Python-3.7.4-GCCcore-8.3.0.eb?  It isn’t a default for building Python (for 
good reason?).

Thanks,

Todd

Reply via email to