Preliminary support for scanning for compilers

This commit is contained in:
Andrew Grant authored and Andrew Grant committed 2020-05-02 17:22:11 -04:00
1 parent fde8fc3b9b
commit 67d7e2a4d5
5 files changed
+122 -24

No files matched your search

+9
View File
@@ -450,6 +450,15 @@ def getFiles(request):
# Core Files should be sitting in framework's repo
return HttpResponse(OpenBench.config.OPENBENCH_CONFIG['corefiles'])
@csrf_exempt
@not_minified_response
def getCompilers(request):
data = {} # Return all engine-compiler information
for engine, config in OpenBench.config.OPENBENCH_CONFIG['engines'].items():
data[engine] = config['build']['compilers']
return HttpResponse(str(data))
@csrf_exempt
@not_minified_response
def getWorkload(request):