Last change
on this file was
368,
checked in by bas, 5 years ago
|
sara_nodes also displays NHC offline notes,
|
File size:
1.6 KB
|
Line | |
---|
1 | #AC_INIT(src/PBSQuery.py) |
---|
2 | |
---|
3 | AC_PREREQ([2.69]) |
---|
4 | AC_INIT([pbs-python], [4.6.6]) |
---|
5 | AC_CONFIG_SRCDIR([src/C++/pbs_wrap.cxx]) |
---|
6 | |
---|
7 | AC_SUBST(prefix) |
---|
8 | AC_SUBST(exec_prefix) |
---|
9 | AC_SUBST(pyexecdir) |
---|
10 | |
---|
11 | |
---|
12 | pbsdir_default='' |
---|
13 | AC_ARG_WITH([pbsdir], |
---|
14 | [ --with-pbsdir=PATH The torque/pbs install directory], |
---|
15 | pbsdir=$withval, pbsdir=$pbsdir_default) |
---|
16 | AC_SUBST(pbsdir) |
---|
17 | |
---|
18 | # Verify the PBS libs are there, but let Makefile handle including them |
---|
19 | # on the link line. First check for modern torque pbs-config program using |
---|
20 | # $pbsdir and the rest of PATH, then fall back to looking around for the |
---|
21 | # libraries by hand. |
---|
22 | AC_PATH_PROG(PBSCONFIG, pbs-config, none, $pbsdir:$pbsdir/bin:$pbsdir/../bin:$PATH) |
---|
23 | if test "$PBSCONFIG" != "none"; then |
---|
24 | pbs_library_compile_line="`$PBSCONFIG --libs`" |
---|
25 | pbs_library_dir="`$PBSCONFIG --libdir`" |
---|
26 | pbs_version="`$PBSCONFIG --version`" |
---|
27 | AC_MSG_RESULT(Found torque version: $pbs_version) |
---|
28 | else |
---|
29 | AC_MSG_ERROR([Failed to find program pbs-config]) |
---|
30 | fi |
---|
31 | AC_SUBST(pbs_library_compile_line) |
---|
32 | AC_SUBST(pbs_library_dir) |
---|
33 | AC_SUBST(pbs_version) |
---|
34 | |
---|
35 | |
---|
36 | AM_PATH_PYTHON |
---|
37 | |
---|
38 | AC_SUBST(pbs_python_version, "$(cat release.json | awk -F'\"' '/\"version\"/ {print $4}')") |
---|
39 | |
---|
40 | AC_OUTPUT( |
---|
41 | Makefile |
---|
42 | Makefile.rpm |
---|
43 | setup.py |
---|
44 | examples/ha_server.py |
---|
45 | examples/JobParser.py |
---|
46 | examples/logpbs.py |
---|
47 | examples/new_interface.py |
---|
48 | examples/new_rack_pbsmon.py |
---|
49 | examples/node_event_parse.py |
---|
50 | examples/pbs_joblogin |
---|
51 | examples/pbs_jobmonitor |
---|
52 | examples/pbsmon.py |
---|
53 | examples/pbsnodes-a.py |
---|
54 | examples/pbs_version.py |
---|
55 | examples/rack_pbsmon.py |
---|
56 | examples/resmom_info.py |
---|
57 | examples/sara_nodes.py |
---|
58 | examples/set_property.py |
---|
59 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.