diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /juniper/build |
Publish
Diffstat (limited to 'juniper/build')
-rw-r--r-- | juniper/build/buildspec.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/juniper/build/buildspec.xml b/juniper/build/buildspec.xml new file mode 100644 index 00000000000..1252957dd97 --- /dev/null +++ b/juniper/build/buildspec.xml @@ -0,0 +1,60 @@ +<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<BuildSpecification> + <Dependencies os="all" arch="all"> + <dep package="common/fastos" version="1.5.99.2"> + <!-- Use stl-port when compiling on platforms with gcc and on windows --> + <if os="linux,freebsd"> + <addfeature name="stl-port" /> + </if> + </dep> + <dep package="common/fastlib" version="1.6.4" /> + <dep package="3rdparty/libiconv" version="1.8" featureset="iconvconst" /> + </Dependencies> + + <PreBuild os="all" arch="all" nocopy="yes"> + <if os="XXaix"> + <!-- Iconv library has been renamed to fsiconv on aix to avoid --> + <!-- mix-ups with other installations. We must alter some --> + <!-- files to make the linking work. --> + <replace token="LIBDIR_ICONV" value="LIBDIR_FSICONV"> + <file path="Makefile" /> + <file path="configure.cfg" /> + </replace> + <replace token=" iconv" value=" fsiconv"> + <file path="src/test/fastos.project" /> + </replace> + </if> + <configure path=""> + <parameter value="--fastos-dir ${fbuild_install_dir}/fastos" /> + <parameter value="--fastlib-dir ${fbuild_install_dir}/fastlib" /> + <parameter value="--iconv-dir ${fbuild_install_dir}/iconv" /> + <parameter value="--install-dir ${fbuild_install_dir}/juniper" /> + <parameter value="--version ${fbuild_package_version}" /> + </configure> + <make path="" target="makefiles" /> + <make path="" target="depend" /> + </PreBuild> + + <Build os="unix" arch="all"> + <make path="" target="all" /> + </Build> + + <Build os="win32" arch="all"> + <make path="" target="all" /> + </Build> + + <PostBuild os="all" arch="all"> + </PostBuild> + + <Test os="all" arch="all"> + <make path="src/test" parameters="test" /> + </Test> + + <Install os="all" arch="all"> + <make path="" target="install" /> + </Install> + + <Dist os="all" arch="all"> + </Dist> + +</BuildSpecification> |