зеркало из https://github.com/microsoft/X-Mem.git
added initial scons scripts for ARM build.
This commit is contained in:
Родитель
ba14677a3d
Коммит
48e2fd03d7
|
@ -0,0 +1,26 @@
|
|||
#SConscript file for GNU/Linux ARM build only
|
||||
# Author: Mark Gottscho <mgottscho@ucla.edu>
|
||||
|
||||
import os
|
||||
|
||||
# Initialize build environment
|
||||
env = Environment()
|
||||
|
||||
# Customize build settings
|
||||
|
||||
# LINUX
|
||||
env.Append(CPPFLAGS = '-Wall -Wno-unused-but-set-variable -Wno-unused-variable -g -O3 -std=c++11 -fabi-version=6')
|
||||
env.Append(CPPPATH = ['src/include', '/usr/include'])
|
||||
env.Append(CPPPATH = ['src/include/ext/DelayInjectedLoadedLatencyBenchmark']) # Extension: Delay-injected loaded latency benchmark
|
||||
env.Append(CPPPATH = ['src/include/ext/StreamBenchmark']) # Extension: Stream benchmark
|
||||
env.Append(LIBS = ['pthread', 'hugetlbfs'])
|
||||
|
||||
# List all C++ source files
|
||||
sources = [
|
||||
Glob('src/*.cpp'),
|
||||
Glob('src/ext/*/*.cpp'), # All extensions
|
||||
]
|
||||
|
||||
defaultBuild = env.Program(target = 'xmem', source = sources)
|
||||
|
||||
Default(defaultBuild)
|
|
@ -1,4 +1,4 @@
|
|||
# SConscript file for GNU/Linux x86-64 with AVX build only
|
||||
# SConscript file for GNU/Linux x86 build only
|
||||
# Author: Mark Gottscho <mgottscho@ucla.edu>
|
||||
|
||||
import os
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# SConstruct file for ARM build only
|
||||
# Author: Mark Gottscho <mgottscho@ucla.edu>
|
||||
|
||||
SConscript('SConscript_linux_arm', variant_dir = 'build/linux/arm/release', duplicate = 0, exports = {'MODE':'release'})
|
||||
#SConscript('SConscript_linux_arm', variant_dir = 'build/linux/arm/debug', duplicate = 0, exports = {'MODE':'debug'})
|
Загрузка…
Ссылка в новой задаче