Skip to content
Snippets Groups Projects
Commit 155061ad authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

also update clang7 to clang8

parent b8ad40ed
No related branches found
No related tags found
1 merge request!16MPI operators
Pipeline #41866 failed
...@@ -18,7 +18,7 @@ config:bionic: ...@@ -18,7 +18,7 @@ config:bionic:
stage: configure stage: configure
script: script:
- "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/gcc-7 $CI_PROJECT_DIR/install/gcc-7 gcc-7 g++-7 gfortran-7" - "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/gcc-7 $CI_PROJECT_DIR/install/gcc-7 gcc-7 g++-7 gfortran-7"
- "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/clang-7 $CI_PROJECT_DIR/install/clang-7 clang-7 clang++-7 gfortran-7" - "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/clang-8 $CI_PROJECT_DIR/install/clang-8 clang-8 clang++-8 gfortran-7"
dependencies: dependencies:
- env:bionic - env:bionic
artifacts: artifacts:
...@@ -30,7 +30,7 @@ build:bionic: ...@@ -30,7 +30,7 @@ build:bionic:
stage: build stage: build
script: script:
- "bash ci/scripts/build.sh $CI_PROJECT_DIR/build/gcc-7 gcc-7 g++-7 gfortran-7" - "bash ci/scripts/build.sh $CI_PROJECT_DIR/build/gcc-7 gcc-7 g++-7 gfortran-7"
- "bash ci/scripts/build.sh $CI_PROJECT_DIR/build/clang-7 clang-7 clang++-7 gfortran-7" - "bash ci/scripts/build.sh $CI_PROJECT_DIR/build/clang-8 clang-8 clang++-8 gfortran-7"
dependencies: dependencies:
- config:bionic - config:bionic
artifacts: artifacts:
......
...@@ -566,14 +566,13 @@ Dumped OpenCL Kernel '{}' ...@@ -566,14 +566,13 @@ Dumped OpenCL Kernel '{}'
if not os.path.exists(dump_folder) and (main_rank == 0): if not os.path.exists(dump_folder) and (main_rank == 0):
os.makedirs(dump_folder) os.makedirs(dump_folder)
if DEBUG and True: if DEBUG:
# dump kernel source while in debug mode # dump kernel source while in debug mode
dump_file=dump_folder+'/rk{}_{}_dump.cl'.format( dump_file=dump_folder+'/rk{}_{}_dump.cl'.format(
main_rank, kernel_name) main_rank, kernel_name)
print 'Dumping kernel src at \'{}\'.'.format(dump_file) print 'Dumping kernel src at \'{}\'.'.format(dump_file)
with open(dump_file, 'w+') as f: with open(dump_file, 'w+') as f:
f.write(gpu_src) f.write(gpu_src)
build_opts += ['-g', '-s {}'.format(dump_file)]
s_build_opts = ' '.join(build_opts) s_build_opts = ' '.join(build_opts)
if VERBOSE: if VERBOSE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment