Skip to content

Commit 2cdff42

Browse files
committed
Merge branch 'main' into benchmark_rambo
2 parents b061efc + f818327 commit 2cdff42

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,6 @@ dmypy.json
133133

134134
# emacs
135135
*~
136+
137+
# clangd
138+
/compile_commands.json

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ Parallel and distributed execution currently is MPI/CSP-like. In a later version
99

1010
## Setting up build environment
1111

12-
Install MLIR/LLVM and Intel® Extension for MLIR (IMEX, see https://github.com/intel/mlir-extensions).
12+
Install MLIR/LLVM and Intel® Extension for MLIR (IMEX, see https://github.com/intel/mlir-extensions). Make sure you use `-DLLVM_ENABLE_RTTI=ON` when configuring LLVM and use build target `all`.
1313

1414
```bash
1515
git clone --recurse-submodules https://github.com/IntelPython/sharded-array-for-python
1616
cd sharded-array-for-python
17-
git checkout jit
1817
conda create --file conda-env.txt --name sharpy
1918
conda activate sharpy
2019
export MPIROOT=$CONDA_PREFIX

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ requirements:
2828
- xz <=5.4.6 # CVE-2024-3094
2929

3030
build:
31-
- {{compiler('gxx')}}
31+
- {{compiler('gxx')}} <=12.3.0
3232
- sysroot_linux-64 # [linux]
3333
# - sysroot_linux-64 >=2.28 # [linux]
3434
- dpcpp_linux-64 >=2024.1 # [linux]

imex_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a6109b1005932d8b4c1d2e8ab0ec4abe7411762a
1+
199f9456fd31b96930395ab650fdb6fea42769dd

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def build_cmake(self, ext):
3232
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir.parent.absolute()}",
3333
f"-DCMAKE_BUILD_TYPE={config}",
3434
"-DCMAKE_VERBOSE_MAKEFILE=ON",
35+
"-DCMAKE_EXPORT_COMPILE_COMMANDS=1",
3536
"-G=Ninja",
3637
"-DLLVM_ENABLE_LLD=ON",
3738
f"-DCMAKE_PREFIX_PATH={os.getenv('CONDA_PREFIX')}/lib/cmake",

0 commit comments

Comments
 (0)