forked from lfortran/lfortran
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pixi.toml
61 lines (54 loc) · 1.23 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[project]
name = "lfortran"
version = "0.1.0"
description = "Modern interactive LLVM-based Fortran compiler"
authors = ["LFortran Maintainers <[email protected]>"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "win-64", "linux-64"]
[tasks]
build0 = "bash ./build0.sh"
[tasks.build]
cmd = """
CXXFLAGS="-stdlib=libc++ -isystem ${PWD}/.pixi/env/include" cmake . \
-GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DLFORTRAN_BUILD_ALL=yes \
-DWITH_LLVM=yes \
-DWITH_STACKTRACE=yes \
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
-DCMAKE_INSTALL_PREFIX=$PIXI_PACKAGE_ROOT/inst &&
cmake --build . --parallel --target install
"""
[tasks.test]
# depends_on = ["build"]
cmd = """
cmake --build . --parallel --target test &&
pytest -v
"""
[dependencies]
cmake = "*"
cxx-compiler = "*"
toml = "*"
pytest = "*"
jupyter = "*"
xeus = "3.0.5"
xeus-zmq = "1.0.2"
xtl = "*"
nlohmann_json = "*"
cppzmq = "*"
jupyter_kernel_test = "*"
xonsh = "*"
re2c = "*"
numpy = "*"
rapidjson = "*"
ninja = "*"
zlib = "*"
[target.osx-arm64.dependencies]
bison = "3.4"
llvmdev = "15.*"
[target.linux-64.dependencies]
bison = "3.4"
llvmdev = "15.*"
[target.win-64.dependencies]
llvmdev = "11.1.0"
m2-bison = "3.0.4"