Changeset e9ff39b in mainline
- Timestamp:
- 2019-08-17T17:46:13Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45fdc55
- Parents:
- d162f1b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/read_config/meson.build
rd162f1b re9ff39b 49 49 'CONFIG_USE_SHARED_LIBS', 50 50 'CROSS_TARGET', 51 'MACHINE', 51 52 'OPTIMIZATION', 53 'PLATFORM', 52 54 'PROCESSOR', 53 55 'QUADFLOAT', … … 94 96 'CONFIG_UDEBUG', 95 97 'CONFIG_VIA_CUDA', 96 'MACHINE',97 98 'MEMORY_MODEL', 98 99 … … 143 144 endif 144 145 endforeach 146 147 # Check whether PLATFORM/MACHINE is unchanged 148 149 _profile = '@0@/@1@'.format(PLATFORM, MACHINE) 150 _profile_file = meson.build_root() / 'prev_profile' 151 152 _cmd = run_command('cat', _profile_file) 153 if _cmd.returncode() == 0 154 _prev_profile = _cmd.stdout().strip() 155 156 if _prev_profile != _profile 157 error('This build directory was initially configured for ' + _prev_profile + 158 ', but now is configured for ' + _profile + '. This is not supported.') 159 endif 160 else 161 run_command('sh', '-c', 'echo "' + _profile + '" > ' + _profile_file, check: true) 162 endif
Note:
See TracChangeset
for help on using the changeset viewer.