GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #24659 from charris/backport-24414 · numpy/numpy@164a201

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • numpy/core
    • meson.build
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎numpy/core/meson.build‎

Copy file name to clipboardExpand all lines: numpy/core/meson.build
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@ endforeach
377377
# https://github.com/numpy/numpy/blob/eead09a3d02c09374942cdc787c0b5e4fe9e7472/numpy/core/setup_common.py#L264-L434
378378
# This port is in service of solving gh-23972
379379
# as well as https://github.com/mesonbuild/meson/issues/11068
380-
longdouble_format = meson.get_compiler('c').run(
380+
longdouble_format = meson.get_external_property('longdouble_format', 'UNKNOWN')
381+
if longdouble_format == 'UNKNOWN'
382+
longdouble_format = meson.get_compiler('c').run(
381383
'''
382384
#include <stdio.h>
383385
#include <string.h>
@@ -456,7 +458,8 @@ int main(void) {
456458
}
457459
}
458460
}
459-
''').stdout()
461+
''').stdout()
462+
endif
460463
if longdouble_format == 'UNKNOWN' or longdouble_format == 'UNDEFINED'
461464
error('Unknown long double format of size: ' + cc.sizeof('long double').to_string())
462465
endif

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.