Browse Source

DOC,BLD: Slight movement of docstrings

pull/4820/head
Rohit Goswami 1 year ago
parent
commit
41279737b3
No known key found for this signature in database GPG Key ID: 9CCCE36402CB49A6
3 changed files with 21 additions and 19 deletions
  1. +0
    -5
      lapack-netlib/BLAS/SRC/meson.build
  2. +8
    -6
      lapack-netlib/meson.build
  3. +13
    -8
      meson.build

+ 0
- 5
lapack-netlib/BLAS/SRC/meson.build View File

@@ -1,8 +1,3 @@
# Conventions:
# _ implies that the variables are not meant to be used outside here
# Optionals are applied from the top-level meson_options.txt
# They are declared at the top
#
# Derived from the CMakeLists.txt
#
# Relevant groups and variables:


+ 8
- 6
lapack-netlib/meson.build View File

@@ -1,12 +1,14 @@
# meson setup build --buildtype release
# meson compile -C build
# meson install --prefix=$HOME/.local/lapack
add_languages('fortran', native: false)
ff = meson.get_compiler('fortran')
if ff.has_argument('-Wno-conversion')
add_project_arguments('-Wno-conversion', language: 'fortran')
endif

lapack_major_version = 3 # soversion
lapack_minor_version = 12
lapack_patch_version = 0
lapack_version = f'@lapack_major_version@.@lapack_minor_version@.@lapack_patch_version@'

subdir('BLAS/SRC') # Defines blas
subdir('SRC')
subdir('INSTALL')
subdir('BLAS/SRC') # Defines blas and _allblas
subdir('INSTALL') # Defines _install_aux
subdir('SRC') # Defines lapack

+ 13
- 8
meson.build View File

@@ -1,15 +1,20 @@
project('OpenBLAS', ['c', 'fortran'], default_options: ['c_std=c99'])
# Conventions:
# _ implies that the variables are not meant to be used outside here
# Optionals are applied from the top-level meson_options.txt
# They are declared at the top
# Typically derived from (in order) the CMakeLists.txt and Makefiles
#
# Installation:
# meson setup build --buildtype release
# meson compile -C build
# meson install --prefix=$HOME/.local/lapack
#
# NOTE: This is still a work in progress, the Makefiles are canonical
project('OpenBLAS', ['c'], default_options: ['c_std=c99'])

# Skip the check for valid CC
cc = meson.get_compiler('c')

# Conditional?
add_languages('fortran', native: false)
ff = meson.get_compiler('fortran')
if ff.has_argument('-Wno-conversion')
add_project_arguments('-Wno-conversion', language: 'fortran')
endif

# Makefile.system
# Ignoring all the hostarch checks and conflits for arch in BSD for now
subdir('lapack-netlib')


Loading…
Cancel
Save