bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure#23708
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure#23708pablogsal merged 2 commits intopython:masterfrom
Conversation
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 75e9b23 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
Thanks @mattip for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
|
GH-23866 is a backport of this pull request to the 3.9 branch. |
|
GH-23867 is a backport of this pull request to the 3.8 branch. |
…onfigure (pythonGH-23708) Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit a44ce6c) Co-authored-by: Matti Picus <matti.picus@gmail.com>
…onfigure (GH-23708) Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit a44ce6c) Co-authored-by: Matti Picus <matti.picus@gmail.com>
…onfigure (GH-23708) (GH-23866) Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit a44ce6c) Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
The code can be made with a function with tuples or lists, instead of writing the same 5 or 6 times. |
I think you may have written in the wrong issue/PR |
…onfigure (pythonGH-23708) Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
Yes, it was the wrong project... |
Continuation of bpo 39825 which was fixed for windows in gh-22088. This fix is for non-linux systems like FreeBSD and AIX. Merging gh-22088 added a test which fails on FreeBSD and AIX:
So
EXT_SUFFIXis being set to.sorather than.cpython-310d.so. This is wrong,EXT_SUFFIXis expected to be.cpython-310d.soin this case.The difference in
EXT_SUFFIXcomes from this stanza inconfigureandconfigure.ac:where
$ac_sys_systemisuname -s. On FREEBSD, this isFreeBSD, and I think on AIX it isAIX. This stanza was in the original version of the files, I am not sure why the original author differentiated between the two values forEXT_SUFFIX.https://bugs.python.org/issue42604