1 /*
2  * Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "gbldefs.h"
18 #include "release.h"
19 #include "version.h"
20 
21 #define LANGUAGE "F90"
22 
23 #define PRODUCT ""
24 
25 /* COPYRIGHT is extern to make it easy to find in symbol table */
26 /* it also has extra space to patch in interesting stuff */
27 const char COPYRIGHT[128] =
28     "";
29 
30 VERSION version = {LANGUAGE, VHOST, VSN, BLD, DVSN, TARGET, PRODUCT, COPYRIGHT};
31 
32 const char *
get_version_string(void)33 get_version_string(void)
34 {
35   static char buf[128];
36   sprintf(buf, "%s%s", version.vsn, version.bld);
37   return buf;
38 }
39